shell32/autocomplete: Pass hwnd for consistency with the other calls.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
03fe246897
commit
38306f8f56
|
@ -409,7 +409,7 @@ static LRESULT APIENTRY ACLBoxSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
|||
sel = SendMessageW(hwnd, LB_GETCURSEL, 0, 0);
|
||||
if (sel < 0)
|
||||
break;
|
||||
len = SendMessageW(This->hwndListBox, LB_GETTEXTLEN, sel, 0);
|
||||
len = SendMessageW(hwnd, LB_GETTEXTLEN, sel, 0);
|
||||
if (!(msg = heap_alloc((len + 1) * sizeof(WCHAR))))
|
||||
break;
|
||||
len = SendMessageW(hwnd, LB_GETTEXT, sel, (LPARAM)msg);
|
||||
|
|
Loading…
Reference in New Issue