diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index a05eaa72dc..4daecd934a 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -2601,7 +2601,14 @@ int show_menu(void) /* return 1 to quit */ | |||
2601 | 2601 | ||
2602 | #if PLUGIN_BUFFER_SIZE >= MIN_MEM | 2602 | #if PLUGIN_BUFFER_SIZE >= MIN_MEM |
2603 | case MIID_SHOW_PLAYBACK_MENU: | 2603 | case MIID_SHOW_PLAYBACK_MENU: |
2604 | playback_control(rb, NULL); | 2604 | if (plug_buf) |
2605 | { | ||
2606 | playback_control(rb, NULL); | ||
2607 | } | ||
2608 | else | ||
2609 | { | ||
2610 | rb->splash(HZ, "Cannot restart playback"); | ||
2611 | } | ||
2605 | break; | 2612 | break; |
2606 | #endif | 2613 | #endif |
2607 | #ifdef HAVE_LCD_COLOR | 2614 | #ifdef HAVE_LCD_COLOR |