SDL_X11_LoadSymbols() was reporting success when required symbols weren't

found!
This commit is contained in:
Ryan C. Gordon
2006-03-24 03:49:37 +00:00
parent 3da774fbe3
commit ece098ba7b

View File

@@ -171,6 +171,7 @@ int SDL_X11_LoadSymbols(void)
if (!SDL_X11_HAVE_BASEXLIB) { /* some required symbol didn't load. */
SDL_X11_UnloadSymbols(); /* in case something got loaded... */
rc = 0;
}
}
#else