diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/splash.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c index 5b3710f140..50355d3a3c 100644 --- a/apps/gui/splash.c +++ b/apps/gui/splash.c | |||
@@ -153,7 +153,9 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap) | |||
153 | if (screen->depth > 1) | 153 | if (screen->depth > 1) |
154 | { | 154 | { |
155 | vp.drawmode = DRMODE_FG; | 155 | vp.drawmode = DRMODE_FG; |
156 | vp.fg_pattern = SCREEN_COLOR_TO_NATIVE(screen, LCD_LIGHTGRAY); | 156 | /* can't do vp.fg_pattern here, since set_foreground does a bit more on |
157 | * greyscale */ | ||
158 | screen->set_foreground(SCREEN_COLOR_TO_NATIVE(screen, LCD_LIGHTGRAY)); | ||
157 | } | 159 | } |
158 | else | 160 | else |
159 | #endif | 161 | #endif |
@@ -163,7 +165,9 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap) | |||
163 | 165 | ||
164 | #if LCD_DEPTH > 1 | 166 | #if LCD_DEPTH > 1 |
165 | if (screen->depth > 1) | 167 | if (screen->depth > 1) |
166 | vp.fg_pattern = SCREEN_COLOR_TO_NATIVE(screen, LCD_BLACK); | 168 | /* can't do vp.fg_pattern here, since set_foreground does a bit more on |
169 | * greyscale */ | ||
170 | screen->set_foreground(SCREEN_COLOR_TO_NATIVE(screen, LCD_BLACK)); | ||
167 | else | 171 | else |
168 | #endif | 172 | #endif |
169 | vp.drawmode = DRMODE_SOLID; | 173 | vp.drawmode = DRMODE_SOLID; |