diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-08-01 19:22:27 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-08-01 19:24:33 -0400 |
commit | 5964fb7e3a3c43db34e8a85df3332da0117e3336 (patch) | |
tree | b65f7956aa29c7645f06da36ecb0443e531f7a94 /src/Composite.c | |
parent | 727195e741cb4de851870efc92232d66dcd5a8f0 (diff) |
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/Composite.c')
-rw-r--r-- | src/Composite.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/Composite.c b/src/Composite.c index 5f1c345..469ec09 100644 --- a/src/Composite.c +++ b/src/Composite.c @@ -76,14 +76,11 @@ in this Software without prior written authorization from The Open Group. static XtResource resources[] = { {XtNchildren, XtCReadOnly, XtRWidgetList, sizeof(WidgetList), - XtOffsetOf(CompositeRec, composite.children), XtRImmediate, NULL} - , + XtOffsetOf(CompositeRec, composite.children), XtRImmediate, NULL}, {XtNnumChildren, XtCReadOnly, XtRCardinal, sizeof(Cardinal), - XtOffsetOf(CompositeRec, composite.num_children), XtRImmediate, NULL} - , + XtOffsetOf(CompositeRec, composite.num_children), XtRImmediate, NULL}, {XtNinsertPosition, XtCInsertPosition, XtRFunction, sizeof(XtOrderProc), - XtOffsetOf(CompositeRec, composite.insert_position), XtRImmediate, NULL} - , + XtOffsetOf(CompositeRec, composite.insert_position), XtRImmediate, NULL}, }; static void CompositeClassPartInitialize(WidgetClass); @@ -141,7 +138,7 @@ CompositeClassRec compositeClassRec = { }; externaldef(compositewidgetclass) -WidgetClass compositeWidgetClass = (WidgetClass) & compositeClassRec; +WidgetClass compositeWidgetClass = (WidgetClass) &compositeClassRec; static void InheritAllowsChangeManagedSet(WidgetClass widget_class) @@ -192,7 +189,7 @@ CompositeClassPartInitialize(WidgetClass myWidgetClass) register CompositePartPtr superPtr = NULL; wcPtr = (CompositePartPtr) - & (((CompositeWidgetClass) myWidgetClass)->composite_class); + &(((CompositeWidgetClass) myWidgetClass)->composite_class); if (myWidgetClass != compositeWidgetClass) { /* don't compute possible bogus pointer */ @@ -291,7 +288,7 @@ static void CompositeInitialize(Widget requested_widget _X_UNUSED, Widget new_widget, ArgList args _X_UNUSED, - Cardinal * num_args _X_UNUSED) + Cardinal *num_args _X_UNUSED) { register CompositeWidget cw; |