diff options
Diffstat (limited to 'apps/gui/splash.c')
-rw-r--r-- | apps/gui/splash.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c index 8d69068d3b..ce8b3cd995 100644 --- a/apps/gui/splash.c +++ b/apps/gui/splash.c | |||
@@ -37,9 +37,8 @@ | |||
37 | 37 | ||
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | 40 | static void splash(struct screen * screen, | |
41 | void internal_splash(struct screen * screen, | 41 | bool center, const char *fmt, va_list ap) |
42 | bool center, const char *fmt, va_list ap) | ||
43 | { | 42 | { |
44 | char *next; | 43 | char *next; |
45 | char *store=NULL; | 44 | char *store=NULL; |
@@ -190,7 +189,7 @@ void gui_splash(struct screen * screen, int ticks, | |||
190 | { | 189 | { |
191 | va_list ap; | 190 | va_list ap; |
192 | va_start( ap, fmt ); | 191 | va_start( ap, fmt ); |
193 | internal_splash(screen, center, fmt, ap); | 192 | splash(screen, center, fmt, ap); |
194 | va_end( ap ); | 193 | va_end( ap ); |
195 | 194 | ||
196 | if(ticks) | 195 | if(ticks) |
@@ -203,7 +202,7 @@ void gui_syncsplash(int ticks, bool center, const char *fmt, ...) | |||
203 | int i; | 202 | int i; |
204 | va_start( ap, fmt ); | 203 | va_start( ap, fmt ); |
205 | FOR_NB_SCREENS(i) | 204 | FOR_NB_SCREENS(i) |
206 | internal_splash(&(screens[i]), center, fmt, ap); | 205 | splash(&(screens[i]), center, fmt, ap); |
207 | va_end( ap ); | 206 | va_end( ap ); |
208 | 207 | ||
209 | if(ticks) | 208 | if(ticks) |