From 4402b1a528a4335fd640650692d33be241ce2497 Mon Sep 17 00:00:00 2001 From: Christopher John Purnell Date: Mon, 30 Jul 2001 20:23:05 +0000 Subject: [PATCH] A stupid bug fixed. 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 | 2 +- freeglut-1.3/freeglut_structure.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/freeglut-1.3/freeglut_main.c b/freeglut-1.3/freeglut_main.c index 220852f..b002dab 100644 --- a/freeglut-1.3/freeglut_main.c +++ b/freeglut-1.3/freeglut_main.c @@ -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) ) diff --git a/freeglut-1.3/freeglut_structure.c b/freeglut-1.3/freeglut_structure.c index 2b16caa..2604f1d 100644 --- a/freeglut-1.3/freeglut_structure.c +++ b/freeglut-1.3/freeglut_structure.c @@ -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 ); } } -- 1.7.10.4