summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-17 21:17:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-17 21:17:08 +0000
commit8aafcf88f81e9fc0ed3264c85cc23f5bd0dbffcb (patch)
tree765fe382da4724cbaeb20d6069c787e4d814b1a7 /apps/tree.c
parente51cbc5579ec94b20ca0c2fcd5005b56e9ee6aa9 (diff)
use splash() when a new language is loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3466 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 99722aa7ff..de418395b7 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -904,23 +904,7 @@ bool dirbrowse(char *root)
if(!lang_load(buf)) {
set_file(buf, global_settings.lang_file,
MAX_FILENAME);
-
- lcd_clear_display();
-#ifdef HAVE_LCD_CHARCELLS
- lcd_puts(0, 0, str(LANG_LANGUAGE_LOADED));
-#else
- lcd_getstringsize(str(LANG_LANGUAGE_LOADED),
- &fw, &fh);
- if(fw>LCD_WIDTH)
- fw=0;
- else
- fw=LCD_WIDTH/2 - fw/2;
-
- lcd_putsxy(fw, LCD_HEIGHT/2 - fh/2,
- str(LANG_LANGUAGE_LOADED));
-#endif
- lcd_update();
- sleep(HZ);
+ splash(HZ, 0, true, str(LANG_LANGUAGE_LOADED));
restore = true;
}
break;