Replace find(x) != npos with contains(x) - Core
This commit is contained in:
1 parent
e235cebb01
commit
9ae9c12938
13 files changed
+38
-44
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user