Commit 00289d5b authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

imm32: Fixed ImmUnlockIMCC.

parent 22143816
......@@ -2665,6 +2665,7 @@ BOOL WINAPI ImmUnlockIMCC(HIMCC imcc)
IMCCInternal *internal;
internal = imcc;
if (internal->dwLock)
internal->dwLock --;
return (internal->dwLock!=0);
}
......
......@@ -728,9 +728,9 @@ static void test_ImmGetIMCCLockCount(void)
count = ImmGetIMCCLockCount(imcc);
ok(count == 0, "expect 0, returned %d\n", count);
ret = ImmUnlockIMCC(imcc);
todo_wine ok(ret == FALSE, "expect FALSE, ret %d\n", ret);
ok(ret == FALSE, "expect FALSE, ret %d\n", ret);
count = ImmGetIMCCLockCount(imcc);
todo_wine ok(count == 0, "expect 0, returned %d\n", count);
ok(count == 0, "expect 0, returned %d\n", count);
ImmDestroyIMCC(imcc);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment