Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11dyn.c @ 2120:2c835d58faad
make indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 14 Jun 2007 13:21:29 +0000 |
parents | 238db749017a |
children | c7bcf84ba1b9 |
comparison
equal
deleted
inserted
replaced
2119:9341a884a4d9 | 2120:2c835d58faad |
---|---|
165 | 165 |
166 #ifdef X_HAVE_UTF8_STRING | 166 #ifdef X_HAVE_UTF8_STRING |
167 X11_GetSym("XCreateIC", &SDL_X11_HAVE_UTF8, (void **) &pXCreateIC); | 167 X11_GetSym("XCreateIC", &SDL_X11_HAVE_UTF8, (void **) &pXCreateIC); |
168 #endif | 168 #endif |
169 | 169 |
170 if (SDL_X11_HAVE_BASEXLIB) { /* all required symbols loaded. */ | 170 if (SDL_X11_HAVE_BASEXLIB) { |
171 /* all required symbols loaded. */ | |
171 SDL_ClearError(); | 172 SDL_ClearError(); |
172 } else { | 173 } else { |
173 SDL_X11_UnloadSymbols(); /* in case something got loaded... */ | 174 /* in case something got loaded... */ |
175 SDL_X11_UnloadSymbols(); | |
174 rc = 0; | 176 rc = 0; |
175 } | 177 } |
176 } | 178 } |
177 #else | 179 #else |
178 #ifdef X_HAVE_UTF8_STRING | 180 #ifdef X_HAVE_UTF8_STRING |