mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:45:09 +00:00
imm32/tests: Fix HKL comparison when cleaning up preload list.
This commit is contained in:
parent
1922902041
commit
54b8049de2
|
@ -3721,7 +3721,7 @@ static void ime_cleanup( HKL hkl, BOOL free )
|
|||
{
|
||||
value_len = ARRAY_SIZE(value);
|
||||
buffer_len = sizeof(buffer);
|
||||
if (hkl != UlongToHandle( wcstoul( buffer, NULL, 16 ) )) continue;
|
||||
if (HandleToUlong( hkl ) != wcstoul( buffer, NULL, 16 )) continue;
|
||||
ret = RegDeleteValueW( hkey, value );
|
||||
ok( !ret, "RegDeleteValueW returned %#lx, error %lu\n", ret, GetLastError() );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue