=?UTF-8?Q?Gabriel=20Iv=C4=83ncescu=20?=: shell32/autocomplete: Don' t autoappend on Paste if ACO_AUTOAPPEND is off.
Alexandre Julliard
julliard at winehq.org
Thu Jan 24 14:42:52 CST 2019
Module: wine
Branch: master
Commit: b9224c21841392cbd9f6173889d3f9184e701b08
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b9224c21841392cbd9f6173889d3f9184e701b08
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Wed Jan 23 13:36:06 2019 +0200
shell32/autocomplete: Don't autoappend on Paste if ACO_AUTOAPPEND is off.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/autocomplete.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 6c013a8..679ec29 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -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))
More information about the wine-cvs
mailing list