From: Gabriel Ivăncescu gabrielopcode@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54090 Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/shell32/tests/autocomplete.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/autocomplete.c b/dlls/shell32/tests/autocomplete.c index d0df5b225c1..a2a03bb24ac 100644 --- a/dlls/shell32/tests/autocomplete.c +++ b/dlls/shell32/tests/autocomplete.c @@ -828,10 +828,10 @@ START_TEST(autocomplete) ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n"); if (!hMainWnd) return;
- /* Move the cursor away from the dropdown listbox */ + /* Move the cursor away from the dropdown listbox; SetCursorPos(0, 0) does not seem to work */ GetWindowRect(hMainWnd, &win_rect); GetCursorPos(&orig_pos); - SetCursorPos(win_rect.left, win_rect.top); + SetCursorPos(win_rect.left ? win_rect.left : 1, win_rect.top ? win_rect.top : 1);
test_invalid_init(); ac = test_init();