From 7a1758505252d4f6100a9b29022b27cabec05af3 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 21 Nov 2010 22:30:32 +0100 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- .../3d/driver/opengl/driver_opengl_window.cpp | 2 +- .../3d/driver/opengl/unix_event_emitter.cpp | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index 2dcf45075..c5b7bc8e8 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -2480,7 +2480,7 @@ void CDriverGL::setWindowSize(uint32 width, uint32 height) } else { - XSetWMNormalHints(_dpy, _win, StdHints); + XSetWMNormalHints(_dpy, _win, StdHints); } if (width != _CurrentMode.Width || height != _CurrentMode.Height) diff --git a/code/nel/src/3d/driver/opengl/unix_event_emitter.cpp b/code/nel/src/3d/driver/opengl/unix_event_emitter.cpp index 8e61f88c0..a70caca08 100644 --- a/code/nel/src/3d/driver/opengl/unix_event_emitter.cpp +++ b/code/nel/src/3d/driver/opengl/unix_event_emitter.cpp @@ -106,22 +106,22 @@ void CUnixEventEmitter::createIM() #endif } -void CUnixEventEmitter::closeIM() -{ -#ifdef X_HAVE_UTF8_STRING - if (_ic) - { - XDestroyIC(_ic); - _ic = 0; - } - - if (_im) - { - XCloseIM(_im); - _im = 0; - } -#endif -} +void CUnixEventEmitter::closeIM() +{ +#ifdef X_HAVE_UTF8_STRING + if (_ic) + { + XDestroyIC(_ic); + _ic = 0; + } + + if (_im) + { + XCloseIM(_im); + _im = 0; + } +#endif +} void CUnixEventEmitter::submitEvents(CEventServer & server, bool allWindows) {