[PATCH] user32/tests: Remove redundant comparison.
Andrey Gusev
andrey.goosev at gmail.com
Fri Oct 13 07:38:27 CDT 2017
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/user32/tests/input.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 94e98af059..8f2576d192 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -933,8 +933,7 @@ static void test_Input_blackbox(void)
empty_message_queue();
prevWndProc = SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR) WndProc2);
- ok(prevWndProc != 0 || (prevWndProc == 0 && GetLastError() == 0),
- "error: %d\n", (int) GetLastError());
+ ok(prevWndProc != 0 || GetLastError() == 0, "error: %d\n", (int) GetLastError());
i.type = INPUT_KEYBOARD;
i.u.ki.time = 0;
--
2.13.6
More information about the wine-patches
mailing list