diff --git a/freeglut/freeglut/src/fg_menu.c b/freeglut/freeglut/src/fg_menu.c index 853c1b4..0247a88 100644 --- a/freeglut/freeglut/src/fg_menu.c +++ b/freeglut/freeglut/src/fg_menu.c @@ -672,7 +672,7 @@ GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed, * window thus has mouse capture */ if (window->State.MouseX>0 && window->State.MouseY>0 && - window->State.MouseXState.Width && window->State.MouseXState.Height) + window->State.MouseXState.Width && window->State.MouseYState.Height) { /* XXX Posting a requisite Redisplay seems bogus. */ window->State.Redisplay = GL_TRUE;