mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 12:13:17 +00:00
winebus.sys: Don't reset report descriptor when starting a collection.
Fixes regression introduced in 1200e9d472
,
incorrectly split from hid_device_begin_report_descriptor.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b1485bec41
commit
99ef287bb7
|
@ -83,7 +83,6 @@ static BOOL hid_device_begin_collection(struct hid_report_descriptor *desc, cons
|
|||
COLLECTION(1, type),
|
||||
};
|
||||
|
||||
memset(desc, 0, sizeof(*desc));
|
||||
return hid_report_descriptor_append(desc, template, sizeof(template));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue