diff src/video/x11/SDL_x11dyn.c @ 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 5115439d67b1
children 9f59d4c5aaea
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