Replace find(x) != npos with contains(x) - Core

This commit is contained in:
Dr. Dystopia committed 2026-04-20 09:36:08 +02:00
1 parent e235cebb01
commit 9ae9c12938
13 files changed
+38 -44

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ void XRRConfiguration::Update()
unsigned int fullWidth, fullHeight;
char* output_name = nullptr;
char auxFlag = '\0';
if (fullscreen_display_res.find(':') == std::string::npos)
if (!fullscreen_display_res.contains(':'))
{
fullWidth = fb_width;
fullHeight = fb_height;