diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/fireworks.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index c49c4fd6bb..54efaba6ca 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c | |||
@@ -34,8 +34,8 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx }; | |||
34 | ***/ | 34 | ***/ |
35 | 35 | ||
36 | /* We use PLA */ | 36 | /* We use PLA */ |
37 | #define BTN_MENU PLA_EXIT | 37 | #define BTN_EXIT PLA_EXIT |
38 | #define BTN_MENU2 PLA_CANCEL | 38 | #define BTN_MENU PLA_CANCEL |
39 | #define BTN_FIRE PLA_SELECT | 39 | #define BTN_FIRE PLA_SELECT |
40 | #define BTN_FIRE_REPEAT PLA_SELECT_REPEAT | 40 | #define BTN_FIRE_REPEAT PLA_SELECT_REPEAT |
41 | 41 | ||
@@ -506,8 +506,11 @@ enum plugin_status plugin_start(const void* parameter) | |||
506 | 506 | ||
507 | switch(button) | 507 | switch(button) |
508 | { | 508 | { |
509 | case BTN_EXIT: /* exit directly */ | ||
510 | quit_plugin = true; | ||
511 | break; | ||
512 | |||
509 | case BTN_MENU: /* back to config menu */ | 513 | case BTN_MENU: /* back to config menu */ |
510 | case BTN_MENU2: | ||
511 | fireworks_menu(); | 514 | fireworks_menu(); |
512 | break; | 515 | break; |
513 | 516 | ||