winebus.sys: Fix a typo in find_device_from_iohid().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-09-17 12:51:18 +02:00
parent 4b28a061ea
commit aff08c7e14
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ static struct platform_private *find_device_from_iohid(IOHIDDeviceRef IOHIDDevic
struct platform_private *private;
LIST_FOR_EACH_ENTRY(private, &device_list, struct platform_private, unix_device.entry)
if (!private->device == IOHIDDevice) return private;
if (private->device == IOHIDDevice) return private;
return NULL;
}