From 6f234c60d9e931a36705d93a714a027e7ca55a84 Mon Sep 17 00:00:00 2001 From: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon, 4 Jul 2022 15:49:31 +1000 Subject: [PATCH] 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> --- xkb/xkb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xkb/xkb.c b/xkb/xkb.c index 21c046913f..a29262c244 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; -- GitLab