From e2495a760a7c5987724467923b9beb57c50ccfeb Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 17 Apr 2016 17:45:44 +0000 Subject: MSWindows fixes for previous commits. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Menu.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/Fl_Menu.cxx') 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: -- cgit v1.2.3