Commit 54b8049d authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

imm32/tests: Fix HKL comparison when cleaning up preload list.

parent 19229020
...@@ -3721,7 +3721,7 @@ static void ime_cleanup( HKL hkl, BOOL free ) ...@@ -3721,7 +3721,7 @@ static void ime_cleanup( HKL hkl, BOOL free )
{ {
value_len = ARRAY_SIZE(value); value_len = ARRAY_SIZE(value);
buffer_len = sizeof(buffer); buffer_len = sizeof(buffer);
if (hkl != UlongToHandle( wcstoul( buffer, NULL, 16 ) )) continue; if (HandleToUlong( hkl ) != wcstoul( buffer, NULL, 16 )) continue;
ret = RegDeleteValueW( hkey, value ); ret = RegDeleteValueW( hkey, value );
ok( !ret, "RegDeleteValueW returned %#lx, error %lu\n", ret, GetLastError() ); ok( !ret, "RegDeleteValueW returned %#lx, error %lu\n", ret, GetLastError() );
} }
......
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