diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-28 11:45:47 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-28 11:45:47 -0400 |
| commit | d0f9c8af8acc56927b6cc7d3130a42c828b6bddb (patch) | |
| tree | 42c07757c19ec5fd958127a62fe2394f3e61b447 | |
| parent | a282dc6fff36ef880efc5fa28fdcbb8fa312ae3a (diff) | |
Switched from wcscmp() to _wcsicmp() in class names on Windows; class names on Windows are case insensitive - http://stackoverflow.com/questions/7928592/are-windows-window-classes-case-sensitive.
| -rw-r--r-- | redo/uitask_windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
