one more g_assert removed
authorAndreas Umbach <umbach@gmail.com>
Mon, 30 Jul 2001 15:22:51 +0000 (15:22 +0000)
committerAndreas Umbach <umbach@gmail.com>
Mon, 30 Jul 2001 15:22:51 +0000 (15:22 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@16 7f0cb862-5218-0410-a997-914c9d46530a

freeglut-1.3/freeglut_init.c
freeglut-1.3/freeglut_main.c

index 7cdd647..abb5c01 100644 (file)
@@ -188,7 +188,7 @@ void fgInitialize( const char* displayName )
          * Register the window class
          */
         retval = RegisterClass( &wc );
-        g_assert( retval != FALSE );
+        assert( retval != FALSE );
     }
 
     /*
index 942a3b6..220852f 100644 (file)
@@ -914,7 +914,7 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPara
          * The window structure is passed as the creation structure paramter...
          */
         window = (SFG_Window *) (((LPCREATESTRUCT) lParam)->lpCreateParams);
-        g_assert( window != NULL );
+        assert( window != NULL );
 
         /*
          * We can safely store the window's handle now: