Removed one last glib call.
authorChristopher John Purnell <cjp@lost.org.uk>
Thu, 16 May 2002 15:00:33 +0000 (15:00 +0000)
committerChristopher John Purnell <cjp@lost.org.uk>
Thu, 16 May 2002 15:00:33 +0000 (15:00 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@23 7f0cb862-5218-0410-a997-914c9d46530a

freeglut-1.3/freeglut_main.c

index b01be6e..86ee47c 100644 (file)
@@ -926,7 +926,7 @@ void FGAPIENTRY glutMainLoop( void )
             /*
              * We need to terminate the main loop if no windows are left
              */
-            bLoop = (g_list_length( fgStructure.Windows ) != 0);
+            bLoop = (fgStructure.Windows.First != NULL);
         }
     }