1
0
Fork 0
forked from len0rd/rockbox

rockblox: Fix compilation under recent mingw-w64-gcc.

Change-Id: I703d967e9288e5c74556b54ad4f72ef2f6247083
This commit is contained in:
Thomas Martitz 2014-01-17 11:14:00 +01:00
parent 335d708c99
commit 33f5fdeadf

View file

@ -546,7 +546,7 @@
#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220) #elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220)
/* no room for the space in the highscore list */ /* no room for the space in the highscore list */
#define _SPACE "" #define HIGHSCORE_SPACE ""
#define BLOCK_WIDTH 10 #define BLOCK_WIDTH 10
#define BLOCK_HEIGHT 10 #define BLOCK_HEIGHT 10
@ -708,8 +708,8 @@ extern const fb_data rockblox_background[];
#endif #endif
#ifndef _SPACE #ifndef HIGHSCORE_SPACE
#define _SPACE " " #define HIGHSCORE_SPACE " "
#endif #endif
/* <<Explanation on Rockblox shapes>> /* <<Explanation on Rockblox shapes>>
@ -926,7 +926,7 @@ static void show_highscores (void)
for (i = 0; i<NUM_SCORES; i++) for (i = 0; i<NUM_SCORES; i++)
rb->lcd_putsxyf (HIGH_LABEL_X, HIGH_SCORE_Y + (10 * i), rb->lcd_putsxyf (HIGH_LABEL_X, HIGH_SCORE_Y + (10 * i),
"%06d" _SPACE "L%1d", highscores[i].score, highscores[i].level); "%06d" HIGHSCORE_SPACE "L%1d", highscores[i].score, highscores[i].level);
} }
#endif #endif