diff options
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 53c522a773..7965673b67 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -341,7 +341,7 @@ static int plugins_menu(void* param) | |||
341 | MENUITEM_STRINGLIST(plugins_menu_items, ID2P(LANG_PLUGINS), NULL, | 341 | MENUITEM_STRINGLIST(plugins_menu_items, ID2P(LANG_PLUGINS), NULL, |
342 | ID2P(LANG_PLUGIN_GAMES), | 342 | ID2P(LANG_PLUGIN_GAMES), |
343 | ID2P(LANG_PLUGIN_APPS), ID2P(LANG_PLUGIN_DEMOS)); | 343 | ID2P(LANG_PLUGIN_APPS), ID2P(LANG_PLUGIN_DEMOS)); |
344 | char *folder; | 344 | const char *folder; |
345 | int retval = GO_TO_PREVIOUS; | 345 | int retval = GO_TO_PREVIOUS; |
346 | int selection = 0, current = 0; | 346 | int selection = 0, current = 0; |
347 | while (retval == GO_TO_PREVIOUS) | 347 | while (retval == GO_TO_PREVIOUS) |
@@ -646,7 +646,13 @@ void root_menu(void) | |||
646 | if ( action_userabort(HZ/5) ) | 646 | if ( action_userabort(HZ/5) ) |
647 | break; | 647 | break; |
648 | } | 648 | } |
649 | next_screen = load_plugin_screen(PLUGIN_DEMOS_DIR "/pictureflow.rock"); | 649 | { |
650 | char pf_path[MAX_PATH]; | ||
651 | snprintf(pf_path, sizeof(pf_path), | ||
652 | "%s/pictureflow.rock", | ||
653 | PLUGIN_DEMOS_DIR); | ||
654 | next_screen = load_plugin_screen(pf_path); | ||
655 | } | ||
650 | previous_browser = GO_TO_PICTUREFLOW; | 656 | previous_browser = GO_TO_PICTUREFLOW; |
651 | break; | 657 | break; |
652 | #endif | 658 | #endif |