From fee380560042e06dd665682f678cac9e62d6e3f3 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 24 Mar 2006 03:49:37 +0000 Subject: [PATCH] SDL_X11_LoadSymbols() was reporting success when required symbols weren't found! --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401617 --- src/video/x11/SDL_x11dyn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/x11/SDL_x11dyn.c b/src/video/x11/SDL_x11dyn.c index 3fb8db37a..a15ed4c54 100644 --- a/src/video/x11/SDL_x11dyn.c +++ b/src/video/x11/SDL_x11dyn.c @@ -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