1
0
Fork 0
forked from len0rd/rockbox

sprintf => snprintf and now we build on the recorder again

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@877 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-06-03 06:57:27 +00:00
parent 158cfc0ad3
commit 2d4f717adc

View file

@ -316,7 +316,7 @@ void move_down(void)
from_virtual();
score += l*l;
}
sprintf (s, "%d Rows - Level %d", lines, level);
snprintf (s, sizeof(s), "%d Rows - Level %d", lines, level);
lcd_putsxy (2, 52, s, 0);
new_block();
move_block(0,0,0);