diff options
author | Tom Ross <midgey@rockbox.org> | 2009-10-17 06:07:50 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2009-10-17 06:07:50 +0000 |
commit | 9fbf346368cea28f7f60a0edc1d493037e7c3e19 (patch) | |
tree | 5fbb2f5e1faacd78360fbe34e58f162ad67d6c4b /apps/main.c | |
parent | 95e596c3403de250c717c303128b4078e8a205fc (diff) | |
download | rockbox-9fbf346368cea28f7f60a0edc1d493037e7c3e19.tar.gz rockbox-9fbf346368cea28f7f60a0edc1d493037e7c3e19.zip |
Change lang_init() to take a source, destination, and count. Needed for translatable plugins. Minor stylist changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23221 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c index f48dd2d0a0..ca0cded351 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -312,7 +312,7 @@ static void init(void) | |||
312 | button_init(); | 312 | button_init(); |
313 | backlight_init(); | 313 | backlight_init(); |
314 | sim_tasks_init(); | 314 | sim_tasks_init(); |
315 | lang_init(); | 315 | lang_init(language_builtin, language_strings, LANG_LAST_INDEX_IN_ARRAY); |
316 | #ifdef DEBUG | 316 | #ifdef DEBUG |
317 | debug_init(); | 317 | debug_init(); |
318 | #endif | 318 | #endif |
@@ -403,7 +403,7 @@ static void init(void) | |||
403 | font_init(); | 403 | font_init(); |
404 | 404 | ||
405 | show_logo(); | 405 | show_logo(); |
406 | lang_init(); | 406 | lang_init(language_builtin, language_strings, LANG_LAST_INDEX_IN_ARRAY); |
407 | 407 | ||
408 | #ifdef DEBUG | 408 | #ifdef DEBUG |
409 | debug_init(); | 409 | debug_init(); |