Fixed compile error.

This commit is contained in:
Branimir Karadzic 2014-10-02 20:10:12 -07:00
parent 0aba867510
commit b9d509763e

View file

@ -469,7 +469,7 @@ namespace entry
void destroyWindow(WindowHandle _handle) void destroyWindow(WindowHandle _handle)
{ {
if (isValid(handle) ) if (isValid(_handle) )
{ {
s_ctx.m_eventQueue.postWindowEvent(_handle, NULL); s_ctx.m_eventQueue.postWindowEvent(_handle, NULL);
XUnmapWindow(s_ctx.m_display, s_ctx.m_window[_handle.idx]); XUnmapWindow(s_ctx.m_display, s_ctx.m_window[_handle.idx]);