Partial s/GetString/c_str/.

(watch out for PlayerOptions::GetString and SongOptions::GetString)
This commit is contained in:
Glenn Maynard
2003-04-25 00:01:35 +00:00
parent 8b8b0bd66a
commit fe33dec385
36 changed files with 200 additions and 200 deletions
+5 -5
View File
@@ -45,15 +45,15 @@ void RageException::Throw(const char *fmt, ...)
"Exception: %s\n"
"//////////////////////////////////////////////////////\n"
"",
error.GetString());
error.c_str());
if(LOG)
{
LOG->Trace("%s", msg.GetString());
LOG->Trace("%s", msg.c_str());
LOG->Flush();
}
else
{
printf("%s\n", msg.GetString());
printf("%s\n", msg.c_str());
fflush(stdout);
}
@@ -62,7 +62,7 @@ void RageException::Throw(const char *fmt, ...)
DebugBreak();
#endif
throw RageException("%s", error.GetString());
throw RageException("%s", error.c_str());
}
void RageException::ThrowNonfatal(const char *fmt, ...)
@@ -72,7 +72,7 @@ void RageException::ThrowNonfatal(const char *fmt, ...)
if(LOG)
{
LOG->Trace("Nonfatal exception thrown: %s", vssprintf( fmt, va ).GetString());
LOG->Trace("Nonfatal exception thrown: %s", vssprintf( fmt, va ).c_str());
LOG->Flush();
}