diff options
Diffstat (limited to 'src/Fl_Menu.cxx')
| -rw-r--r-- | src/Fl_Menu.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index 39ab67072..1d56a1ebd 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -775,11 +775,12 @@ int menuwindow::handle_part1(int e) { } } break; - case FL_MOVE: - static int use_part1_extra = Fl::system_driver()->need_menu_handle_part1_extra(); - if (use_part1_extra && pp.state == DONE_STATE) { - return 1; // Fix for STR #2619 - } + case FL_MOVE: { + static int use_part1_extra = Fl::system_driver()->need_menu_handle_part1_extra(); + if (use_part1_extra && pp.state == DONE_STATE) { + return 1; // Fix for STR #2619 + } + } /* FALLTHROUGH */ case FL_ENTER: case FL_PUSH: |
