mirror of
https://github.com/RPCS3/hidapi.git
synced 2025-02-20 02:30:49 +00:00
parent
b595f3b063
commit
1798adabb2
@ -936,7 +936,7 @@ HID_API_EXPORT hid_device * HID_API_CALL hid_open_path(const char *path)
|
||||
|
||||
interface_path = hid_internal_UTF8toUTF16(path);
|
||||
if (!interface_path) {
|
||||
register_string_error(dev, L"Path conversion failure");
|
||||
register_global_error(L"Path conversion failure");
|
||||
goto end_of_function;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user