diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-07 17:08:07 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-07 17:08:07 -0700 |
commit | 1f48cadaa88423a012613a0b456ec8795c8c0992 (patch) | |
tree | 281b50fbf99a4d4f02bad6d6675f6385f37f343f | |
parent | 9e898aa4fd964e888044e2fa2d64089505331f62 (diff) |
Whitespace changes related to cleaning up previous patch
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | src/Resources.c | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/Resources.c b/src/Resources.c index 139beba..1d2871c 100644 --- a/src/Resources.c +++ b/src/Resources.c @@ -849,22 +849,20 @@ static XtCacheRef *GetResources( UNLOCK_PROCESS; } } - { - for (res = table, j = 0; j < num_resources; j++, res++) { - if (!found[j] && typed[j]) { - /* - * This resource value was specified as a typed arg. - * However, the default value is being used here since - * type type conversion failed, so we compress the list. - */ - register XtTypedArg* arg = typed_args + typed[j] - 1; - register int i; + for (res = table, j = 0; j < num_resources; j++, res++) { + if (!found[j] && typed[j]) { + /* + * This resource value was specified as a typed arg. + * However, the default value is being used here since + * type type conversion failed, so we compress the list. + */ + register XtTypedArg* arg = typed_args + typed[j] - 1; + register int i; - for (i = num_typed_args - typed[j]; i > 0; i--, arg++) { - *arg = *(arg+1); - } - num_typed_args--; + for (i = num_typed_args - typed[j]; i > 0; i--, arg++) { + *arg = *(arg+1); } + num_typed_args--; } } if (tm_hack) |