summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-17 11:14:00 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-17 11:14:00 +0100
commit33f5fdeadf248793456ce472707890e1f6368cbe (patch)
tree05635c2737dce7b30fcbc0255a40b47e8db3d9eb
parent335d708c999a111c40e4795aeda94830e9ed7d9e (diff)
downloadrockbox-33f5fdeadf248793456ce472707890e1f6368cbe.tar.gz
rockbox-33f5fdeadf248793456ce472707890e1f6368cbe.zip
rockblox: Fix compilation under recent mingw-w64-gcc.
Change-Id: I703d967e9288e5c74556b54ad4f72ef2f6247083
-rw-r--r--apps/plugins/rockblox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 025e3b4e25..c72d7be9c3 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -546,7 +546,7 @@
546#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220) 546#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220)
547 547
548/* no room for the space in the highscore list */ 548/* no room for the space in the highscore list */
549#define _SPACE "" 549#define HIGHSCORE_SPACE ""
550 550
551#define BLOCK_WIDTH 10 551#define BLOCK_WIDTH 10
552#define BLOCK_HEIGHT 10 552#define BLOCK_HEIGHT 10
@@ -708,8 +708,8 @@ extern const fb_data rockblox_background[];
708 708
709#endif 709#endif
710 710
711#ifndef _SPACE 711#ifndef HIGHSCORE_SPACE
712#define _SPACE " " 712#define HIGHSCORE_SPACE " "
713#endif 713#endif
714/* <<Explanation on Rockblox shapes>> 714/* <<Explanation on Rockblox shapes>>
715 715
@@ -926,7 +926,7 @@ static void show_highscores (void)
926 926
927 for (i = 0; i<NUM_SCORES; i++) 927 for (i = 0; i<NUM_SCORES; i++)
928 rb->lcd_putsxyf (HIGH_LABEL_X, HIGH_SCORE_Y + (10 * i), 928 rb->lcd_putsxyf (HIGH_LABEL_X, HIGH_SCORE_Y + (10 * i),
929 "%06d" _SPACE "L%1d", highscores[i].score, highscores[i].level); 929 "%06d" HIGHSCORE_SPACE "L%1d", highscores[i].score, highscores[i].level);
930} 930}
931#endif 931#endif
932 932