From 9e2a05a3e2e21b4f11fdca1669c9070ba0bd34d7 Mon Sep 17 00:00:00 2001 From: Konstantin Kondratyuk Date: Wed, 21 Apr 2010 18:27:45 +0400 Subject: [PATCH] shell32: Case insentivity for autocomplete --- dlls/shell32/autocomplete.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c index f50c2b7..4c59fe3 100644 --- a/dlls/shell32/autocomplete.c +++ b/dlls/shell32/autocomplete.c @@ -586,7 +586,7 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, if (hr != S_OK) break; - if (strstrW(strs, hwndText) == strs) { + if (strncmpiW(strs, hwndText, strlenW(hwndText))) { if (!filled && (This->options & ACO_AUTOAPPEND)) { SetWindowTextW(hwnd, strs); SendMessageW(hwnd, EM_SETSEL, lstrlenW(hwndText), lstrlenW(strs)); -- 1.6.5.8