Fixed a gazillion of warnings occuring when compiling Wagic with Clang with Werror.

This commit is contained in:
Xawotihs@gmail.com
2013-06-09 21:16:39 +00:00
parent 7990540096
commit 26ab65860e
75 changed files with 303 additions and 242 deletions

View File

@@ -766,9 +766,9 @@ void GameStateMenu::Render()
else
{
if (primitivesLoadCounter <= (int) (primitives.size()))
sprintf(text, _("LOADING PRIMITIVES").c_str());
sprintf(text, "%s", _("LOADING PRIMITIVES").c_str());
else
sprintf(text, _("LOADING...").c_str());
sprintf(text, "%s", _("LOADING...").c_str());
}
mFont->SetColor(ARGB(170,0,0,0));
mFont->DrawString(text, SCREEN_WIDTH / 2 + 2, SCREEN_HEIGHT - 50 + 2, JGETEXT_CENTER);