A stupid bug fixed.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@17 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
cjp 2001-07-30 20:23:05 +00:00
parent b6bc09e2f7
commit ddf7d9715a
2 changed files with 3 additions and 3 deletions

View 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) )

View 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 );
}
}