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

dinput/tests: Avoid calling UnloadKeyboardLayout.

This seems to later mess up with the preload keyboard list and GetKeyboardLayoutNameW. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51478
parent c29d7330
......@@ -1707,7 +1707,6 @@ static void test_dik_codes( IDirectInputDevice8W *device, HANDLE event, HWND hwn
skip_key_tests:
ActivateKeyboardLayout( old_hkl, 0 );
UnloadKeyboardLayout( hkl );
winetest_pop_context();
}
......@@ -2253,7 +2252,6 @@ static void test_sys_keyboard( DWORD version )
skip_key_tests:
ActivateKeyboardLayout( old_hkl, 0 );
UnloadKeyboardLayout( hkl );
test_dik_codes( device, event, hwnd, version );
......
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