SDL_X11_LoadSymbols() was reporting success when required symbols weren't
authorRyan C. Gordon <icculus@icculus.org>
Fri, 24 Mar 2006 03:49:37 +0000
changeset 1610a1ee5944412b
parent 1609 c3b5d17277d4
child 1611 ec3466b08f17
SDL_X11_LoadSymbols() was reporting success when required symbols weren't
found!
src/video/x11/SDL_x11dyn.c
     1.1 --- a/src/video/x11/SDL_x11dyn.c	Thu Mar 23 22:11:29 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11dyn.c	Fri Mar 24 03:49:37 2006 +0000
     1.3 @@ -171,6 +171,7 @@
     1.4  
     1.5  		if (!SDL_X11_HAVE_BASEXLIB) {  /* some required symbol didn't load. */
     1.6  			SDL_X11_UnloadSymbols();  /* in case something got loaded... */
     1.7 +			rc = 0;
     1.8  		}
     1.9  	}
    1.10  	#else