1
0
Fork 0
forked from fte/fteqw

try to fix a crash reported by spirit. not sure how I didn't find that myself.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4709 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-07-07 17:18:45 +00:00
parent 4d7cc67ebe
commit adf3384730

View file

@ -587,8 +587,10 @@ static void X_ShutdownUnicode(void)
{
if (x11.unicodecontext)
x11.pXDestroyIC(x11.unicodecontext);
x11.unicodecontext = NULL;
if (x11.inputmethod)
x11.pXCloseIM(x11.inputmethod);
x11.inputmethod = NULL;
x11.dounicode = false;
}
#include <locale.h>