From c1295224ee291178e70958de5ec8decc682b03e7 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Tue, 12 Jan 2010 17:31:09 +0000 Subject: [PATCH] bug fix: wrong type used for line number representation --- games/tetris/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/tetris/view.c b/games/tetris/view.c index 7e4e1a8..6ceefd3 100644 --- a/games/tetris/view.c +++ b/games/tetris/view.c @@ -295,7 +295,7 @@ void tetris_view_blinkLines(tetris_playfield_t *pPl) void tetris_view_showLineNumbers(tetris_view_t *pV) { // get number of completed lines - uint8_t nLines = tetris_logic_getLines(pV->pLogic); + uint16_t nLines = tetris_logic_getLines(pV->pLogic); // get decimal places int8_t nOnes = nLines % 10;