Nikolay Sivov : shell32/autocomplete: Autocompletion should be case insensitive for string comparison.

Alexandre Julliard julliard at winehq.org
Mon Jul 25 11:43:13 CDT 2011


Module: wine
Branch: master
Commit: 2210e9bbf01a0d7758e2afa17dbf4338e1407e4a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2210e9bbf01a0d7758e2afa17dbf4338e1407e4a

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Jul 23 12:40:56 2011 +0400

shell32/autocomplete: Autocompletion should be case insensitive for string comparison.

---

 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 af450ba..fa80713 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));




More information about the wine-cvs mailing list