From 272a018d9914837e126e20f33201f6177ad7e169 Mon Sep 17 00:00:00 2001 From: Christopher John Purnell Date: Thu, 16 May 2002 15:00:33 +0000 Subject: [PATCH] Removed one last glib call. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut-1.3/freeglut_main.c b/freeglut-1.3/freeglut_main.c index b01be6e..86ee47c 100644 --- a/freeglut-1.3/freeglut_main.c +++ b/freeglut-1.3/freeglut_main.c @@ -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); } } -- 1.7.10.4