imm32: Fixed ImmUnlockIMCC.
This commit is contained in:
parent
2214381657
commit
00289d5b91
|
@ -2665,7 +2665,8 @@ BOOL WINAPI ImmUnlockIMCC(HIMCC imcc)
|
|||
IMCCInternal *internal;
|
||||
internal = imcc;
|
||||
|
||||
internal->dwLock --;
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue