return NULL -> return CString() for clarity and efficiency
This commit is contained in:
@@ -1236,7 +1236,7 @@ CString SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature,
|
||||
if( !bResult )
|
||||
{
|
||||
SCREENMAN->PlayInvalidSound();
|
||||
return NULL;
|
||||
return CString();
|
||||
}
|
||||
|
||||
SCREENMAN->PlayScreenshotSound();
|
||||
|
||||
Reference in New Issue
Block a user