]> git.jsancho.org Git - lugaru.git/commitdiff
Fixed printf() formatting string.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 14 May 2010 03:30:32 +0000 (23:30 -0400)
committerRyan C. Gordon <icculus@icculus.org>
Fri, 14 May 2010 03:30:32 +0000 (23:30 -0400)
Source/GameDraw.cpp

index 015a4d55f2f63c5e1185143c46f899b17216023f..38d27d4ffc7912ecfea2bf17a711f4dfe78fffc4 100644 (file)
@@ -2506,7 +2506,7 @@ int Game::DrawGLScene(void)
                                movex[10]=0;
                                movey[10]=0;
                                
-                               sprintf (menustring[11], "Volume: %d%", (int)(volume*100));
+                               sprintf (menustring[11], "Volume: %d%%", (int)(volume*100));
                                startx[11]=10+60;
                                starty[11]=155;
                                endx[11]=startx[11]+strlen(menustring[11])*10;