A stupid bug fixed.
authorChristopher John Purnell <cjp@lost.org.uk>
Mon, 30 Jul 2001 20:23:05 +0000 (20:23 +0000)
committerChristopher John Purnell <cjp@lost.org.uk>
Mon, 30 Jul 2001 20:23:05 +0000 (20:23 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@17 7f0cb862-5218-0410-a997-914c9d46530a

freeglut-1.3/freeglut_main.c
freeglut-1.3/freeglut_structure.c

index 220852f..b002dab 100644 (file)
@@ -139,7 +139,7 @@ static void fghcbDisplayWindow( SFG_Window *window, SFG_Enumerator *enumerator )
     /*
      * Check if there is an idle callback hooked
      */
-// #   warning there is a redisplay hack here (see the code commented out)
+#   warning there is a redisplay hack here (see the code commented out)
     if( (window->Callbacks.Display != NULL) &&
         /*(window->State.Redisplay == TRUE) &&*/
         (window->State.Visible == TRUE) )
index 2b16caa..2604f1d 100644 (file)
@@ -234,9 +234,9 @@ static void fghRemoveMenuFromWindow( SFG_Window* window, SFG_Menu* menu )
      * Call this function for all of the window's children recursively:
      */
     for( subWindow = window->Children.First; subWindow;
-         subWindow = subWindow->Node.Next);
+         subWindow = subWindow->Node.Next)
     {
-        fghRemoveMenuFromWindow(subWindow, menu );
+        fghRemoveMenuFromWindow( subWindow, menu );
     }
 }