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
+2 -2
View File
@@ -391,7 +391,7 @@ CString SetD3DParams( bool &bNewDeviceOut )
}
}
return NULL;
return CString();
}
/* If the given parameters have failed, try to lower them. */
@@ -604,7 +604,7 @@ CString RageDisplay_D3D::TryVideoMode( VideoModeParams p, bool &bNewDeviceOut )
/* Palettes were lost by Reset(), so mark them unloaded. */
g_TexResourceToPaletteIndex.clear();
return NULL; // mode change successful
return CString(); // mode change successful
}
void RageDisplay_D3D::ResolutionChanged()