summaryrefslogtreecommitdiff
path: root/src/GetResList.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/GetResList.c
parent727195e741cb4de851870efc92232d66dcd5a8f0 (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/GetResList.c')
-rw-r--r--src/GetResList.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GetResList.c b/src/GetResList.c
index e0ea277..f649de5 100644
--- a/src/GetResList.c
+++ b/src/GetResList.c
@@ -82,8 +82,8 @@ in this Software without prior written authorization from The Open Group.
void
XtGetResourceList(WidgetClass widget_class,
- XtResourceList * resources,
- Cardinal * num_resources)
+ XtResourceList *resources,
+ Cardinal *num_resources)
{
int size;
register Cardinal i, dest = 0;
@@ -119,7 +119,7 @@ XtGetResourceList(WidgetClass widget_class,
dlist[dest].resource_size = list[i]->resource_size;
/* trust that resource_offset isn't that big */
dlist[dest].resource_offset = (Cardinal)
- - ((int) (list[i]->resource_offset + 1));
+ -((int) (list[i]->resource_offset + 1));
dlist[dest].default_type = (String)
XrmQuarkToString(TOXRMQUARK(list[i]->default_type));
dlist[dest].default_addr = list[i]->default_addr;
@@ -142,8 +142,8 @@ ClassIsSubclassOf(WidgetClass class, WidgetClass superclass)
void
XtGetConstraintResourceList(WidgetClass widget_class,
- XtResourceList * resources,
- Cardinal * num_resources)
+ XtResourceList *resources,
+ Cardinal *num_resources)
{
int size;
register Cardinal i, dest = 0;
@@ -192,7 +192,7 @@ XtGetConstraintResourceList(WidgetClass widget_class,
dlist[dest].resource_size = list[i]->resource_size;
/* trust that resource_offset isn't that big */
dlist[dest].resource_offset = (Cardinal)
- - ((int) (list[i]->resource_offset + 1));
+ -((int) (list[i]->resource_offset + 1));
dlist[dest].default_type = (String)
XrmQuarkToString(TOXRMQUARK(list[i]->default_type));
dlist[dest].default_addr = list[i]->default_addr;