Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
diff --git a/controls/menu.c b/controls/menu.c
index 1a131bc..e8b4798 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -2339,11 +2339,15 @@
break;
case WM_MOUSEMOVE:
- if ((msg.wParam & MK_LBUTTON) || ((wFlags & TPM_RIGHTBUTTON)
- && (msg.wParam & MK_RBUTTON)))
- {
+ /* In win95 winelook, the selected menu item must be changed every time the
+ mouse moves. In Win31 winelook, the mouse button has to be held down */
+
+ if ( (TWEAK_WineLook > WIN31_LOOK) ||
+ ( (msg.wParam & MK_LBUTTON) ||
+ ((wFlags & TPM_RIGHTBUTTON) && (msg.wParam & MK_RBUTTON))) )
+
fEndMenu |= !MENU_MouseMove( &mt, hmenu );
- }
+
} /* switch(msg.message) - mouse */
}
else if ((msg.message >= WM_KEYFIRST) && (msg.message <= WM_KEYLAST))