fix "for up to" number format
authorRudolf Polzer <divverent@alientrap.org>
Sun, 23 Jan 2011 17:01:16 +0000 (18:01 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 23 Jan 2011 17:01:16 +0000 (18:01 +0100)
qcsrc/client/scoreboard.qc

index 664369c3510803921b8e9b48dbc159b05cd4524d..7b90fcda3192e2561843fe7de15ed878d9aec320 100644 (file)
@@ -1249,12 +1249,12 @@ void HUD_DrawScoreboard()
        if(gametype == GAME_LMS)
        {
                if(tl > 0)
-                       str = strcat(str, sprintf(_(" for up to ^1%.1g minutes^7"), tl));
+                       str = strcat(str, sprintf(_(" for up to ^1%.1f minutes^7"), tl));
        }
        else
        {
                if(tl > 0)
-                       str = strcat(str, sprintf(_(" for up to ^1%.1g minutes^7"), tl));
+                       str = strcat(str, sprintf(_(" for up to ^1%.1f minutes^7"), tl));
                if(fl > 0)
                {
                        if(tl > 0)