summaryrefslogtreecommitdiff
path: root/src/GetValues.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/GetValues.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/GetValues.c')
-rw-r--r--src/GetValues.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/GetValues.c b/src/GetValues.c
index 74c3b8d..3e8bfa0 100644
--- a/src/GetValues.c
+++ b/src/GetValues.c
@@ -76,7 +76,7 @@ in this Software without prior written authorization from The Open Group.
static int
GetValues(char *base, /* Base address to fetch values from */
- XrmResourceList * res, /* The current resource values. */
+ XrmResourceList *res, /* The current resource values. */
register Cardinal num_resources, /* number of items in resources */
ArgList args, /* The resource values requested */
Cardinal num_args) /* number of items in arg list */
@@ -108,11 +108,10 @@ GetValues(char *base, /* Base address to fetch values from */
* mode in _XtCopyToArg. It helps performance, too...
*/
if ((*xrmres)->xrm_type == QCallback) {
- XtCallbackList callback = _XtGetCallbackList((InternalCallbackList *)
- (base -
- (*xrmres)->
- xrm_offset -
- 1));
+ XtCallbackList callback =
+ _XtGetCallbackList((InternalCallbackList *)
+ (base - (*xrmres)->xrm_offset - 1));
+
_XtCopyToArg((char *) &callback, &arg->value,
(*xrmres)->xrm_size);
}