summaryrefslogtreecommitdiff
path: root/libtk
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2010-04-06 11:01:04 +0100
committerforsyth <forsyth@vitanuova.com>2010-04-06 11:01:04 +0100
commit61d0ba9cf1fac12977df33d5fa8509ff13322614 (patch)
tree0a4f7031e87857db75fd59dc1a3a77ca36f185ea /libtk
parentf94b359d339cfcefb3725fe7c0e78211443815b4 (diff)
20100406-1101
Diffstat (limited to 'libtk')
-rw-r--r--libtk/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtk/parse.c b/libtk/parse.c
index 57a1a651..9291e899 100644
--- a/libtk/parse.c
+++ b/libtk/parse.c
@@ -391,7 +391,7 @@ tkgencget(TkOptab *ft, char *arg, char **val, TkTop *t)
}
c = out;
for (s = o->aux; s->val != nil; s++) {
- if (con & s->con)
+ if (s->con == (s->con&-s->con) && (con & s->con) != 0)
c = seprint(c, out+Tkmaxitem, " %s", s->val); /* should this be quoted? */
}
free(buf);