summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/version.h2
-rw-r--r--libtk/parse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/version.h b/include/version.h
index c6539f86..dce757a7 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1 +1 @@
-#define VERSION "Fourth Edition (20100402)"
+#define VERSION "Fourth Edition (20100406)"
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);