Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-11-21 22:30:32 +01:00
parent 76599a34b9
commit 7a17585052
2 changed files with 17 additions and 17 deletions

View file

@ -2480,7 +2480,7 @@ void CDriverGL::setWindowSize(uint32 width, uint32 height)
} }
else else
{ {
XSetWMNormalHints(_dpy, _win, StdHints); XSetWMNormalHints(_dpy, _win, StdHints);
} }
if (width != _CurrentMode.Width || height != _CurrentMode.Height) if (width != _CurrentMode.Width || height != _CurrentMode.Height)

View file

@ -106,22 +106,22 @@ void CUnixEventEmitter::createIM()
#endif #endif
} }
void CUnixEventEmitter::closeIM() void CUnixEventEmitter::closeIM()
{ {
#ifdef X_HAVE_UTF8_STRING #ifdef X_HAVE_UTF8_STRING
if (_ic) if (_ic)
{ {
XDestroyIC(_ic); XDestroyIC(_ic);
_ic = 0; _ic = 0;
} }
if (_im) if (_im)
{ {
XCloseIM(_im); XCloseIM(_im);
_im = 0; _im = 0;
} }
#endif #endif
} }
void CUnixEventEmitter::submitEvents(CEventServer & server, bool allWindows) void CUnixEventEmitter::submitEvents(CEventServer & server, bool allWindows)
{ {