diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/puzzles/rockbox.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c index 51b5e0890b..cb357ac313 100644 --- a/apps/plugins/puzzles/rockbox.c +++ b/apps/plugins/puzzles/rockbox.c | |||
@@ -3362,10 +3362,6 @@ static bool load_game(void) | |||
3362 | rb->close(fd); | 3362 | rb->close(fd); |
3363 | rb->remove(fname); | 3363 | rb->remove(fname); |
3364 | 3364 | ||
3365 | #ifdef FONT_CACHING | ||
3366 | load_fonts(); | ||
3367 | #endif | ||
3368 | |||
3369 | /* success */ | 3365 | /* success */ |
3370 | return true; | 3366 | return true; |
3371 | } | 3367 | } |
@@ -3451,6 +3447,11 @@ static void puzzles_main(void) | |||
3451 | init_for_game(&thegame, -1); | 3447 | init_for_game(&thegame, -1); |
3452 | } | 3448 | } |
3453 | 3449 | ||
3450 | #ifdef FONT_CACHING | ||
3451 | LOGF("loading fonts"); | ||
3452 | load_fonts(); | ||
3453 | #endif | ||
3454 | |||
3454 | /* must be done before any menu needs to be displayed */ | 3455 | /* must be done before any menu needs to be displayed */ |
3455 | rb->snprintf(menu_desc, sizeof(menu_desc), "%s Menu", midend_which_game(me)->name); | 3456 | rb->snprintf(menu_desc, sizeof(menu_desc), "%s Menu", midend_which_game(me)->name); |
3456 | 3457 | ||