msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2017-01-17 11:41:20 +00:00 committed by Alexandre Julliard
parent e697a639e0
commit 543496a4fc
1 changed files with 2 additions and 2 deletions

View File

@ -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();