X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_main.c;h=86ee47c8bb99713045b20fcaf1c502f27102891b;hb=3ee42232404c505950f2d616a983a304582e15a7;hp=b01be6e7e67c1d7648e117f2cf65ab834e0e1039;hpb=d51f09af4edcc7bfd0f1913a917ae405d302227e;p=freeglut 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); } }