shell32/autocomplete: Autocompletion should be case insensitive for string comparison.
This commit is contained in:
parent
046ec2d132
commit
2210e9bbf0
|
@ -589,7 +589,7 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (strstrW(strs, hwndText) == strs) {
|
if (StrStrIW(strs, hwndText) == strs) {
|
||||||
if (!filled && (This->options & ACO_AUTOAPPEND)) {
|
if (!filled && (This->options & ACO_AUTOAPPEND)) {
|
||||||
SetWindowTextW(hwnd, strs);
|
SetWindowTextW(hwnd, strs);
|
||||||
SendMessageW(hwnd, EM_SETSEL, lstrlenW(hwndText), lstrlenW(strs));
|
SendMessageW(hwnd, EM_SETSEL, lstrlenW(hwndText), lstrlenW(strs));
|
||||||
|
|
Loading…
Reference in New Issue