src/video/x11/SDL_x11dyn.c
changeset 2120 2c835d58faad
parent 2118 238db749017a
child 2325 c7bcf84ba1b9
     1.1 --- a/src/video/x11/SDL_x11dyn.c	Thu Jun 14 06:32:36 2007 +0000
     1.2 +++ b/src/video/x11/SDL_x11dyn.c	Thu Jun 14 13:21:29 2007 +0000
     1.3 @@ -167,10 +167,12 @@
     1.4          X11_GetSym("XCreateIC", &SDL_X11_HAVE_UTF8, (void **) &pXCreateIC);
     1.5  #endif
     1.6  
     1.7 -        if (SDL_X11_HAVE_BASEXLIB) {  /* all required symbols loaded. */
     1.8 +        if (SDL_X11_HAVE_BASEXLIB) {
     1.9 +            /* all required symbols loaded. */
    1.10              SDL_ClearError();
    1.11          } else {
    1.12 -            SDL_X11_UnloadSymbols();  /* in case something got loaded... */
    1.13 +            /* in case something got loaded... */
    1.14 +            SDL_X11_UnloadSymbols();
    1.15              rc = 0;
    1.16          }
    1.17      }