return NULL -> return CString() for clarity and efficiency

This commit is contained in:
Chris Danford
2005-09-04 16:55:21 +00:00
parent c414d1bcf8
commit 48ebc53549
55 changed files with 107 additions and 107 deletions
@@ -140,7 +140,7 @@ CString GraphicsWindow::SetScreenMode( const RageDisplay::VideoModeParams &p )
if( !g_CurrentParams.windowed )
ChangeDisplaySettings( NULL, 0 );
return "";
return CString();
}
DEVMODE DevMode;
@@ -169,7 +169,7 @@ CString GraphicsWindow::SetScreenMode( const RageDisplay::VideoModeParams &p )
if( ret != DISP_CHANGE_SUCCESSFUL )
return "Couldn't set screen mode";
return "";
return CString();
}
static int GetWindowStyle( const RageDisplay::VideoModeParams &p )