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 1610 a1ee5944412b
parent 1609 c3b5d17277d4
child 1611 ec3466b08f17
SDL_X11_LoadSymbols() was reporting success when required symbols weren't found!
src/video/x11/SDL_x11dyn.c
--- a/src/video/x11/SDL_x11dyn.c	Thu Mar 23 22:11:29 2006 +0000
+++ b/src/video/x11/SDL_x11dyn.c	Fri Mar 24 03:49:37 2006 +0000
@@ -171,6 +171,7 @@
 
 		if (!SDL_X11_HAVE_BASEXLIB) {  /* some required symbol didn't load. */
 			SDL_X11_UnloadSymbols();  /* in case something got loaded... */
+			rc = 0;
 		}
 	}
 	#else