return NULL -> return CString() for clarity and efficiency
This commit is contained in:
@@ -540,7 +540,7 @@ static CString GetOneBakedRandomFile( Song *pSong, bool bTryGenre = true )
|
||||
if( !vsNamesOut.empty() )
|
||||
return vsNamesOut[rand()%vsNamesOut.size()];
|
||||
else
|
||||
return NULL;
|
||||
return CString();
|
||||
}
|
||||
|
||||
static MenuDef g_InsertTapAttack(
|
||||
|
||||
Reference in New Issue
Block a user