summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-25 11:42:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-25 11:42:10 +0000
commit5b662ff3dec68ae67864f3ce86aa75725fcb4400 (patch)
tree88ec643847b8d4bb04c126c8bcd7646d30c21afe /apps/main.c
parent1ad8e6fd4be4ea7dbff295a1ab5d9e9af988eb8a (diff)
load ".rockbox/default.lng" at startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2409 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 1fa26e37d4..15bb73e971 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -46,7 +46,7 @@
#include "version.h"
#include "sprintf.h"
#include "font.h"
-
+#include "language.h"
char appsversion[]=APPSVERSION;
@@ -69,6 +69,7 @@ void init(void)
settings_reset();
settings_load();
font_load(ROCKBOX_DIR "/default.fnt");
+ lang_load(ROCKBOX_DIR "/default.lng");
sleep(HZ/2);
}
@@ -147,6 +148,7 @@ void init(void)
settings_load();
font_load(ROCKBOX_DIR "/default.fnt");
+ lang_load(ROCKBOX_DIR "/default.lng");
mpeg_init( global_settings.volume,
global_settings.bass,