mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8418a2c94a
commit
ab9fd1840b
52 changed files with 173 additions and 412 deletions
|
|
@ -206,7 +206,6 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
int type_next_brick = 0;
|
||||
|
||||
unsigned long int score = 34126;
|
||||
char score_buf[10];
|
||||
|
||||
(void)parameter;
|
||||
|
||||
|
|
@ -278,8 +277,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
|
||||
/* Score box */
|
||||
rb->snprintf(score_buf, sizeof(score_buf), "%8ld0", score);
|
||||
rb->lcd_putsxy(score_x, SCORE_Y, score_buf);
|
||||
rb->lcd_putsxyf(score_x, SCORE_Y, "%8ld0", score);
|
||||
|
||||
rb->lcd_update();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue