summaryrefslogtreecommitdiff
path: root/src/ChkIfEv.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2022-11-30 23:42:02 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-01 14:53:06 -0800
commit70eaf1174e2809d1a6c43868d53f8cd844ef636a (patch)
tree4424939fd2f85f8e35043b4dad068bf0586ac7e0 /src/ChkIfEv.c
parenta9e845809bcaae22496bc8aa3ca252b410d5f39b (diff)
downloadxorg-lib-libX11-70eaf1174e2809d1a6c43868d53f8cd844ef636a.tar.gz
Indentation fixes around recent dpy->in_ifevent changes
Use the same indentation as the surrounding code. Signed-off-by: Ulrich Sibiller <uli42@gmx.de> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/ChkIfEv.c')
-rw-r--r--src/ChkIfEv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ChkIfEv.c b/src/ChkIfEv.c
index 1bbcba5b..eba36941 100644
--- a/src/ChkIfEv.c
+++ b/src/ChkIfEv.c
@@ -49,8 +49,8 @@ Bool XCheckIfEvent (
unsigned long qe_serial = 0;
int n; /* time through count */
- dpy->in_ifevent++;
- LockDisplay(dpy);
+ dpy->in_ifevent++;
+ LockDisplay(dpy);
prev = NULL;
for (n = 3; --n >= 0;) {
for (qelt = prev ? prev->next : dpy->head;
@@ -80,7 +80,7 @@ Bool XCheckIfEvent (
/* another thread has snatched this event */
prev = NULL;
}
- dpy->in_ifevent--;
+ dpy->in_ifevent--;
UnlockDisplay(dpy);
return False;
}