[PATCH 1/3] msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.
Huw Davies
huw at codeweavers.com
Tue Jan 17 05:41:20 CST 2017
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/msctf/tests/inputprocessor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c
index 18a248f..5b386ad 100644
--- a/dlls/msctf/tests/inputprocessor.c
+++ b/dlls/msctf/tests/inputprocessor.c
@@ -2175,11 +2175,11 @@ static void test_AssociateFocus(void)
test_CurrentFocus = dm1;
test_PrevFocus = FOCUS_IGNORE;
test_OnSetFocus = SINK_OPTIONAL;
- test_ShouldDeactivate = SINK_OPTIONAL;
+ test_ShouldDeactivate = TRUE;
hr = ITfThreadMgr_AssociateFocus(g_tm,wnd1,dm1,&olddm);
ok(SUCCEEDED(hr),"AssociateFocus failed\n");
sink_check_ok(&test_OnSetFocus,"OnSetFocus");
- test_ShouldDeactivate = SINK_UNEXPECTED;
+ test_ShouldDeactivate = FALSE;
processPendingMessages();
--
2.10.2
More information about the wine-patches
mailing list