CString -> RString

This commit is contained in:
Chris Danford
2006-01-22 01:00:06 +00:00
parent 870ed267fc
commit 7f821e8cfc
578 changed files with 3943 additions and 3946 deletions
+4 -4
View File
@@ -81,16 +81,16 @@ uint8_t mySDL_EventState( uint8_t type, int state )
/* SDL sometimes fails to set an error, in which case we get the null string. We
* sometimes use that as a sentinel return value. This function returns "(none)"
* if no error is set. */
CString mySDL_GetError()
RString mySDL_GetError()
{
CString error = SDL_GetError();
RString error = SDL_GetError();
if( error == "" )
return "(none)"; /* SDL sometimes fails to set an error */
return error;
}
void mySDL_WM_SetIcon( CString sIconFile )
void mySDL_WM_SetIcon( RString sIconFile )
{
#if !defined(MACOSX)
if( sIconFile.empty() )
@@ -99,7 +99,7 @@ void mySDL_WM_SetIcon( CString sIconFile )
return;
}
CString error;
RString error;
RageSurface *srf = RageSurfaceUtils::LoadFile( sIconFile, error );
if( srf == NULL )
return;