diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
commit | f05428e4cd63dde97bac14b84dd146a5c00455e3 (patch) | |
tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libforms/objects.c | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'lib/libforms/objects.c')
-rw-r--r-- | lib/libforms/objects.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libforms/objects.c b/lib/libforms/objects.c index 335e4ad..0a51cae 100644 --- a/lib/libforms/objects.c +++ b/lib/libforms/objects.c @@ -6,8 +6,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -116,13 +116,13 @@ __inline void clone_object(OBJECT *object, OBJECT *def) { int i; - + /* XXX - Should really check if strdup's succeed */ object->type = def->type; object->status = def->status; object->parent = def->parent; - /* + /* * Only copy sizes for fixed size objects, * otherwise inherit from parent. Always * inherit x and y. @@ -188,7 +188,7 @@ clone_object(OBJECT *object, OBJECT *def) if (!object->object.function) errx(-1, "Failed to allocate memory for copy of function object"); object->object.function->fn = strdup(def->object.function->fn); - break; + break; case OT_INPUT: object->object.input = malloc(sizeof (INPUT_OBJECT)); if (!object->object.input) @@ -204,7 +204,7 @@ clone_object(OBJECT *object, OBJECT *def) errx(-1, "Failed to allocate memory for copy of menu object"); object->object.menu->selected = def->object.menu->selected; for (i=0; i < def->object.menu->no_options; i++) { - object->object.menu->no_options = + object->object.menu->no_options = add_menu_option(object->object.menu, def->object.menu->options[i]); if (!object->object.menu->no_options) @@ -256,7 +256,7 @@ copy_bound_objects(char *key, void *data, void *arg) int use_defined_object(OBJECT *object, char *src) -{ +{ TUPLE *tuple; OBJECT *def; @@ -271,7 +271,7 @@ use_defined_object(OBJECT *object, char *src) /* Now recursively clone sub-objects */ hash_traverse(def->bind, ©_bound_objects, object); -} +} /* |