mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-15 18:50:25 +01:00
xkb: mixing up src and dst in a memcpy is suboptimal.
This commit is contained in:
parent
aa6687322d
commit
eebdf69e9a
1 changed files with 1 additions and 1 deletions
|
|
@ -638,7 +638,7 @@ XkbCopySrvLedInfo( DeviceIntPtr from,
|
|||
if (!sli_new)
|
||||
goto finish;
|
||||
|
||||
memcpy(src, sli_new, sizeof(XkbSrvLedInfoRec));
|
||||
memcpy(sli_new, src, sizeof(XkbSrvLedInfoRec));
|
||||
if (sli_new->class == KbdFeedbackClass)
|
||||
sli_new->fb.kf = kf;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue