Logic bug in X11 Unicode input shutdown...was checking for == NULL
when it should be != NULL. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401322
This commit is contained in:
parent
67ecc5318b
commit
1f6bc947a3
1 changed files with 2 additions and 2 deletions
|
@ -1296,11 +1296,11 @@ void X11_VideoQuit(_THIS)
|
|||
|
||||
/* Close the connection with the IM server */
|
||||
#ifdef X_HAVE_UTF8_STRING
|
||||
if (SDL_IC == NULL) {
|
||||
if (SDL_IC != NULL) {
|
||||
pXDestroyIC(SDL_IC);
|
||||
SDL_IC = NULL;
|
||||
}
|
||||
if (SDL_IM == NULL) {
|
||||
if (SDL_IM != NULL) {
|
||||
pXCloseIM(SDL_IM);
|
||||
SDL_IM = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue