fixed bug introduced by moving the loop variables out of the for loops
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Mon, 19 Sep 2016 01:16:05 +0000 (04:16 +0300)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Mon, 19 Sep 2016 01:16:05 +0000 (04:16 +0300)
src/tinyfps.c

index 4c97424..7844748 100644 (file)
@@ -47,6 +47,7 @@ void initFpsFonts()
                        }
                }
 
+               i = 0;
                for (n = 0; n < FPS_FONTS_NUM; n++)
                {
                        for (y = 0; y < FPS_FONT_HEIGHT; y++)