Xi: remove false memset from DeepCopyDeviceClasses.
It's wrong, needs to be different, but I haven't had enough coffee to figure out what it needs to do yet.
This commit is contained in:
parent
7b4f3616f7
commit
8e562fe26f
|
@ -356,7 +356,6 @@ DeepCopyDeviceClasses(DeviceIntPtr from, DeviceIntPtr to)
|
||||||
int i;
|
int i;
|
||||||
DeviceIntPtr sd;
|
DeviceIntPtr sd;
|
||||||
|
|
||||||
memset(to->button, 0, MAP_LENGTH);
|
|
||||||
/* merge button states from all attached devices */
|
/* merge button states from all attached devices */
|
||||||
for (sd = inputInfo.devices; sd; sd = sd->next)
|
for (sd = inputInfo.devices; sd; sd = sd->next)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue