Use LoadLibraryW ()

This commit is contained in:
Luca Bacci 2022-12-30 13:32:10 +01:00 committed by Jehan
parent c98ffb7e0e
commit f7be0cf68e
8 changed files with 20 additions and 8 deletions

View file

@ -216,7 +216,7 @@ gimp_input_device_store_init (GimpInputDeviceStore *store)
return;
}
if ((dinput8 = LoadLibrary ("dinput8.dll")) == NULL)
if ((dinput8 = LoadLibraryW (L"dinput8.dll")) == NULL)
{
g_set_error_literal (&store->error, GIMP_MODULE_ERROR, GIMP_MODULE_FAILED,
"Could not load dinput8.dll");