summaryrefslogtreecommitdiff
path: root/src/EventUtil.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-08-01 19:22:27 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-08-01 19:24:33 -0400
commit5964fb7e3a3c43db34e8a85df3332da0117e3336 (patch)
treeb65f7956aa29c7645f06da36ecb0443e531f7a94 /src/EventUtil.c
parent727195e741cb4de851870efc92232d66dcd5a8f0 (diff)
downloadxorg-lib-libXt-5964fb7e3a3c43db34e8a85df3332da0117e3336.tar.gz
improved the script used for typedef-options with indent, updated indentation
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/EventUtil.c')
-rw-r--r--src/EventUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/EventUtil.c b/src/EventUtil.c
index 1daf7df..848cead 100644
--- a/src/EventUtil.c
+++ b/src/EventUtil.c
@@ -133,7 +133,7 @@ _XtGetPerWidgetInput(Widget widget, _XtBoolean create)
}
void
-_XtFillAncestorList(Widget ** listPtr,
+_XtFillAncestorList(Widget **listPtr,
int *maxElemsPtr,
int *numElemsPtr,
Widget start,
@@ -156,7 +156,7 @@ _XtFillAncestorList(Widget ** listPtr,
for (i = 1, w = XtParent(start);
w != NULL && !XtIsShell(trace[i - 1]) && trace[i - 1] != breakWidget;
w = XtParent(w), i++) {
- if (i == (Cardinal) * maxElemsPtr) {
+ if (i == (Cardinal) *maxElemsPtr) {
/* This should rarely happen, but if it does it'll probably
happen again, so grow the ancestor list */
*maxElemsPtr += CACHESIZE;