mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
Make style of if statment conform to the one already in use in the file/
This commit is contained in:
parent
5c58c6969e
commit
f83f706565
@ -684,9 +684,8 @@ static void iohidmanager_hid_device_add_device(
|
|||||||
if (adapter->slot == -1)
|
if (adapter->slot == -1)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
if (string_is_empty(adapter->name)) {
|
if (string_is_empty(adapter->name))
|
||||||
strcpy(adapter->name, "Unknown Controller With No Name");
|
strcpy(adapter->name, "Unknown Controller With No Name");
|
||||||
}
|
|
||||||
|
|
||||||
if (pad_connection_has_interface(hid->slots, adapter->slot))
|
if (pad_connection_has_interface(hid->slots, adapter->slot))
|
||||||
IOHIDDeviceRegisterInputReportCallback(device,
|
IOHIDDeviceRegisterInputReportCallback(device,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user