aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/listdev.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-02-15 21:41:19 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-26 00:58:46 +0100
commit8e188629fde213f29cfaf62c4ea3abd0520a0f41 (patch)
treeae3e9926e04bffb749224e1bcf90a44fe205c549 /nx-X11/programs/Xserver/Xi/listdev.c
parentb0abdf7bd8284b1edf39c13e1863ecc420fd68e4 (diff)
downloadnx-libs-8e188629fde213f29cfaf62c4ea3abd0520a0f41.tar.gz
nx-libs-8e188629fde213f29cfaf62c4ea3abd0520a0f41.tar.bz2
nx-libs-8e188629fde213f29cfaf62c4ea3abd0520a0f41.zip
Xi: small formatting changes to match Xorg 7.1's Xi
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/listdev.c')
-rw-r--r--nx-X11/programs/Xserver/Xi/listdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/Xi/listdev.c b/nx-X11/programs/Xserver/Xi/listdev.c
index ba32d5494..bd62fa022 100644
--- a/nx-X11/programs/Xserver/Xi/listdev.c
+++ b/nx-X11/programs/Xserver/Xi/listdev.c
@@ -121,7 +121,7 @@ ProcXListInputDevices(register ClientPtr client)
SizeDeviceInfo(d, &namesize, &size);
total_length = numdevs * sizeof(xDeviceInfo) + size + namesize;
- devbuf = (char *)calloc(1, total_length);
+ devbuf = (char *) calloc (1, total_length);
classbuf = devbuf + (numdevs * sizeof(xDeviceInfo));
namebuf = classbuf + size;
savbuf = devbuf;
@@ -162,7 +162,7 @@ SizeDeviceInfo(DeviceIntPtr d, int *namesize, int *size)
if (d->valuator != NULL) {
chunks = ((int)d->valuator->numAxes + 19) / VPC;
*size += (chunks * sizeof(xValuatorInfo) +
- d->valuator->numAxes * sizeof(xAxisInfo));
+ d->valuator->numAxes * sizeof(xAxisInfo));
}
}