mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 01:50:14 +01:00
Fix address for memcpy()
If we ever change to a dynamic array, this would've been buggy. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
50b47aa8f9
commit
cf5ba7056f
1 changed files with 1 additions and 1 deletions
|
|
@ -1240,7 +1240,7 @@ tablet_notify_axis(struct libinput_device *device,
|
|||
.axes = axes,
|
||||
};
|
||||
|
||||
memcpy(&axis_event->changed_axes,
|
||||
memcpy(axis_event->changed_axes,
|
||||
changed_axes,
|
||||
sizeof(axis_event->changed_axes));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue