shell32/autocomplete: Don't autoappend on Paste if ACO_AUTOAPPEND is off.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7bd3072d7f
commit
b9224c2184
|
@ -761,7 +761,8 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
|||
return ret;
|
||||
case WM_PASTE:
|
||||
ret = CallWindowProcW(This->wpOrigEditProc, hwnd, uMsg, wParam, lParam);
|
||||
autocomplete_text(This, hwnd, autoappend_flag_yes);
|
||||
autocomplete_text(This, hwnd, (This->options & ACO_AUTOAPPEND)
|
||||
? autoappend_flag_yes : autoappend_flag_no);
|
||||
return ret;
|
||||
case WM_MOUSEWHEEL:
|
||||
if ((This->options & ACO_AUTOSUGGEST) && IsWindowVisible(This->hwndListBox))
|
||||
|
|
Loading…
Reference in New Issue