aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/devbell.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/devbell.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/devbell.c')
-rw-r--r--nx-X11/programs/Xserver/Xi/devbell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/Xi/devbell.c b/nx-X11/programs/Xserver/Xi/devbell.c
index f594e7f36..a7091752b 100644
--- a/nx-X11/programs/Xserver/Xi/devbell.c
+++ b/nx-X11/programs/Xserver/Xi/devbell.c
@@ -96,7 +96,7 @@ ProcXDeviceBell(register ClientPtr client)
int base;
int newpercent;
CARD8 class;
- void *ctrl;
+ void * ctrl;
BellProcPtr proc;
REQUEST(xDeviceBellReq);
@@ -125,7 +125,7 @@ ProcXDeviceBell(register ClientPtr client)
}
base = k->ctrl.bell;
proc = k->BellProc;
- ctrl = (void *)&(k->ctrl);
+ ctrl = (void *) &(k->ctrl);
class = KbdFeedbackClass;
} else if (stuff->feedbackclass == BellFeedbackClass) {
for (b = dev->bell; b; b = b->next)
@@ -138,7 +138,7 @@ ProcXDeviceBell(register ClientPtr client)
}
base = b->ctrl.percent;
proc = b->BellProc;
- ctrl = (void *)&(b->ctrl);
+ ctrl = (void *) &(b->ctrl);
class = BellFeedbackClass;
} else {
client->errorValue = stuff->feedbackclass;