From fecf33bcbebe29cb20c9369f5f6da79e3b78bed5 Mon Sep 17 00:00:00 2001 From: Andreas Umbach Date: Mon, 30 Jul 2001 15:22:51 +0000 Subject: [PATCH] one more g_assert removed 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 | 2 +- freeglut-1.3/freeglut_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freeglut-1.3/freeglut_init.c b/freeglut-1.3/freeglut_init.c index 7cdd647..abb5c01 100644 --- a/freeglut-1.3/freeglut_init.c +++ b/freeglut-1.3/freeglut_init.c @@ -188,7 +188,7 @@ void fgInitialize( const char* displayName ) * Register the window class */ retval = RegisterClass( &wc ); - g_assert( retval != FALSE ); + assert( retval != FALSE ); } /* diff --git a/freeglut-1.3/freeglut_main.c b/freeglut-1.3/freeglut_main.c index 942a3b6..220852f 100644 --- a/freeglut-1.3/freeglut_main.c +++ b/freeglut-1.3/freeglut_main.c @@ -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: -- 1.7.10.4