Fix format strings.

This commit is contained in:
Steve Checkoway
2008-12-26 23:23:18 +00:00
parent 2258f21c2d
commit 19e1c8bb4e
7 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ void GameCommand::LoadOne( const Command& cmd )
else
{
RString sWarning = ssprintf( "Command '%s' is not valid.", cmd.GetOriginalCommandString().c_str() );
LOG->Warn( sWarning );
LOG->Warn( "%s", sWarning.c_str() );
Dialog::OK( sWarning, "INVALID_GAME_COMMAND" );
}
}