return "" -> return NULL

This commit is contained in:
Chris Danford
2005-09-02 00:14:07 +00:00
parent 7c4f2595ab
commit e439ae2a96
41 changed files with 97 additions and 87 deletions
+2 -2
View File
@@ -228,7 +228,7 @@ CString ScreenProfileOptions::GetSelectedProfileID()
const OptionRow &row = *m_pRows[GetCurrentRow()];
const int Selection = row.GetOneSharedSelection();
if( !Selection )
return "";
return NULL;
return vsProfiles[ Selection-1 ];
}
@@ -237,7 +237,7 @@ CString ScreenProfileOptions::GetSelectedProfileName()
const OptionRow &row = *m_pRows[GetCurrentRow()];
const int Selection = row.GetOneSharedSelection();
if( !Selection )
return "";
return NULL;
return g_ProfileOptionsLines[PO_PLAYER1].m_vsChoices[ Selection ];
}