bug fix: wrong type used for line number representation

This commit is contained in:
Christian Kroll 2010-01-12 17:31:09 +00:00
parent 9341dad54a
commit c1295224ee
1 changed files with 1 additions and 1 deletions

View File

@ -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;