summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/main.c b/apps/main.c
index ecc80710a1..1f2625df6c 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -162,7 +162,7 @@ static int init_dircache(bool preinit)
162 { 162 {
163 /* This will be in default language, settings are not 163 /* This will be in default language, settings are not
164 applied yet. Not really any easy way to fix that. */ 164 applied yet. Not really any easy way to fix that. */
165 gui_syncsplash(0, str(LANG_SCANNING_DISK)); 165 splash(0, str(LANG_SCANNING_DISK));
166 clear = true; 166 clear = true;
167 } 167 }
168 168
@@ -180,7 +180,7 @@ static int init_dircache(bool preinit)
180 { 180 {
181 if (global_status.dircache_size <= 0) 181 if (global_status.dircache_size <= 0)
182 { 182 {
183 gui_syncsplash(0, str(LANG_SCANNING_DISK)); 183 splash(0, str(LANG_SCANNING_DISK));
184 clear = true; 184 clear = true;
185 } 185 }
186 result = dircache_build(global_status.dircache_size); 186 result = dircache_build(global_status.dircache_size);
@@ -191,7 +191,7 @@ static int init_dircache(bool preinit)
191 /* Initialization of dircache failed. Manual action is 191 /* Initialization of dircache failed. Manual action is
192 * necessary to enable dircache again. 192 * necessary to enable dircache again.
193 */ 193 */
194 gui_syncsplash(0, "Dircache failed, disabled. Result: %d", result); 194 splashf(0, "Dircache failed, disabled. Result: %d", result);
195 global_settings.dircache = false; 195 global_settings.dircache = false;
196 } 196 }
197 197
@@ -244,7 +244,7 @@ static void init_tagcache(void)
244 } 244 }
245#endif 245#endif
246#ifdef HAVE_LCD_BITMAP 246#ifdef HAVE_LCD_BITMAP
247 gui_syncsplash(0, "%s [%d/%d]", 247 splashf(0, "%s [%d/%d]",
248 str(LANG_TAGCACHE_INIT), ret, 248 str(LANG_TAGCACHE_INIT), ret,
249 tagcache_get_max_commit_step()); 249 tagcache_get_max_commit_step());
250#else 250#else
@@ -504,7 +504,7 @@ static void init(void)
504 if (button_hold()) 504 if (button_hold())
505#endif 505#endif
506 { 506 {
507 gui_syncsplash(HZ*2, str(LANG_RESET_DONE_CLEAR)); 507 splash(HZ*2, str(LANG_RESET_DONE_CLEAR));
508 settings_reset(); 508 settings_reset();
509 } 509 }
510 else 510 else