summaryrefslogtreecommitdiff
path: root/apps/plugins/starfield.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2007-10-26 16:01:52 +0000
committerKevin Ferrare <kevin@rockbox.org>2007-10-26 16:01:52 +0000
commit2531d2a19c6745b6bf70119a95ce141d94dd57b9 (patch)
tree70b542e47eda0ac3de71fdd551a0719a22df610e /apps/plugins/starfield.c
parent8431c08b7d3a271ad34ce512e2bdcb0e53e39c38 (diff)
downloadrockbox-2531d2a19c6745b6bf70119a95ce141d94dd57b9.tar.gz
rockbox-2531d2a19c6745b6bf70119a95ce141d94dd57b9.zip
Fix starfield displaying stars in white on grayscale devices (they remain visible) when printing info message ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15316 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r--apps/plugins/starfield.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c
index 333fd32fcd..ffc9f16321 100644
--- a/apps/plugins/starfield.c
+++ b/apps/plugins/starfield.c
@@ -313,7 +313,7 @@ int plugin_main(void)
313 starfield_move_and_draw(&starfield); 313 starfield_move_and_draw(&starfield);
314 314
315#ifdef HAVE_LCD_COLOR 315#ifdef HAVE_LCD_COLOR
316 rb->lcd_set_foreground(LCD_WHITE); 316 rb->lcd_set_foreground(LCD_WHITE);
317#endif 317#endif
318 318
319 /* if a parameter is updated (by the user), we must print it */ 319 /* if a parameter is updated (by the user), we must print it */
@@ -324,7 +324,7 @@ int plugin_main(void)
324 "star:%d speed:%d", 324 "star:%d speed:%d",
325 starfield.nb_stars, 325 starfield.nb_stars,
326 starfield.z_move); 326 starfield.z_move);
327#if LCD_DEPTH > 1 327#ifdef HAVE_LCD_COLOR
328 rb->lcd_set_foreground(LCD_WHITE); 328 rb->lcd_set_foreground(LCD_WHITE);
329#endif 329#endif
330 rb->lcd_putsxy(0, LCD_HEIGHT-font_h, str_buffer); 330 rb->lcd_putsxy(0, LCD_HEIGHT-font_h, str_buffer);