diff --git a/redo/uitask_windows.c b/redo/uitask_windows.c index e7f9b5e..dec6ed2 100644 --- a/redo/uitask_windows.c +++ b/redo/uitask_windows.c @@ -89,10 +89,10 @@ void uimsgloop(void) if (focus != NULL) { if (GetClassNameW(focus, classchk, NCLASSNAME) == 0) xpanic("error getting name of focused window class for Area check", GetLastError()); - if (wcscmp(classchk, areaWindowClass) == 0) { + if (_wcsicmp(classchk, areaWindowClass) == 0) { uimsgloop_area(active, focus, &msg); continue; - } else if (wcscmp(classchk, WC_TABCONTROL) == 0) { + } else if (_wcsicmp(classchk, WC_TABCONTROL) == 0) { uimsgloop_tab(active, focus, &msg); continue; }