changeset 1610:a1ee5944412b

SDL_X11_LoadSymbols() was reporting success when required symbols weren't found!
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 24 Mar 2006 03:49:37 +0000
parents c3b5d17277d4
children ec3466b08f17
files src/video/x11/SDL_x11dyn.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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