Make style of if statment conform to the one already in use in the file/

This commit is contained in:
James Montgomerie 2020-09-06 18:36:32 -07:00
parent 5c58c6969e
commit f83f706565

View File

@ -684,9 +684,8 @@ static void iohidmanager_hid_device_add_device(
if (adapter->slot == -1)
goto error;
if (string_is_empty(adapter->name)) {
if (string_is_empty(adapter->name))
strcpy(adapter->name, "Unknown Controller With No Name");
}
if (pad_connection_has_interface(hid->slots, adapter->slot))
IOHIDDeviceRegisterInputReportCallback(device,