Huw Davies : msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.
Alexandre Julliard
julliard at winehq.org
Tue Jan 17 15:10:33 CST 2017
Module: wine
Branch: master
Commit: 543496a4fc72a556802b666b38bdc8601b326da2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=543496a4fc72a556802b666b38bdc8601b326da2
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Jan 17 11:41:20 2017 +0000
msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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();
More information about the wine-cvs
mailing list