From 2210e9bbf01a0d7758e2afa17dbf4338e1407e4a Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sat, 23 Jul 2011 12:40:56 +0400 Subject: [PATCH] shell32/autocomplete: Autocompletion should be case insensitive for string comparison. --- dlls/shell32/autocomplete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c index af450ba2f17..fa807138a31 100644 --- a/dlls/shell32/autocomplete.c +++ b/dlls/shell32/autocomplete.c @@ -589,7 +589,7 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, if (hr != S_OK) break; - if (strstrW(strs, hwndText) == strs) { + if (StrStrIW(strs, hwndText) == strs) { if (!filled && (This->options & ACO_AUTOAPPEND)) { SetWindowTextW(hwnd, strs); SendMessageW(hwnd, EM_SETSEL, lstrlenW(hwndText), lstrlenW(strs));