Minor typo fix
authorChristopher John Purnell <cjp@lost.org.uk>
Wed, 20 Aug 2003 02:02:52 +0000 (02:02 +0000)
committerChristopher John Purnell <cjp@lost.org.uk>
Wed, 20 Aug 2003 02:02:52 +0000 (02:02 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@165 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_gamemode.c

index 490d2f6..29a2947 100644 (file)
@@ -497,7 +497,7 @@ int FGAPIENTRY glutEnterGameMode( void )
      * (XSetInputFocus) is called with a not yet viewable window, it will exit
      * the application which we have to aviod, so wait until it's viewable:
      */
-    while (GrabSuccess =! XGrabPointer(
+    while (GrabSuccess != XGrabPointer(
            fgDisplay.Display, fgStructure.GameMode->Window.Handle,
            TRUE, ButtonPressMask|ButtonReleaseMask|ButtonMotionMask
                |PointerMotionMask,