summaryrefslogtreecommitdiff
path: root/xkb/xkb.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-07-04 15:49:31 +1000
committerOlivier Fourdan <fourdan@gmail.com>2022-07-08 14:27:04 +0000
commit6f234c60d9e931a36705d93a714a027e7ca55a84 (patch)
treef391b0dc6ef392d4e5fc81940a72ae9e6526f097 /xkb/xkb.c
parenta2762514b66e8869ce93fa7dc2a1d0faaebd9272 (diff)
xkb: whitespace fixes
Sick of fighting vim and git from trying to add this fix with every commit iteration... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'xkb/xkb.c')
-rw-r--r--xkb/xkb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkb/xkb.c b/xkb/xkb.c
index 21c046913..a29262c24 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -2433,7 +2433,7 @@ _XkbSetMapCheckLength(xkbSetMapReq *req)
}
/* actions */
if (req->present & XkbKeyActionsMask) {
- _add_check_len(req->totalActs * sz_xkbActionWireDesc
+ _add_check_len(req->totalActs * sz_xkbActionWireDesc
+ XkbPaddedSize(req->nKeyActs));
}
/* behaviours */
@@ -6774,7 +6774,7 @@ _XkbSetDeviceInfoCheck(ClientPtr client, DeviceIntPtr dev,
ed.deviceID = dev->id;
wire = (char *) &stuff[1];
if (stuff->change & XkbXI_ButtonActionsMask) {
- int nBtns, sz, i;
+ int nBtns, sz, i;
XkbAction *acts;
DeviceIntPtr kbd;