diff options
author | nijtmans <nijtmans> | 2010-01-29 23:29:05 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-29 23:29:05 (GMT) |
commit | 9eb9490bdd0af957334eed8ed99c60c0223d9536 (patch) | |
tree | e2ae24557f012f79ecebc04b4fa338009270046d /generic | |
parent | 1e548bf42e74260b2f01ca4505406c2380c6ae61 (diff) | |
download | tk-9eb9490bdd0af957334eed8ed99c60c0223d9536.zip tk-9eb9490bdd0af957334eed8ed99c60c0223d9536.tar.gz tk-9eb9490bdd0af957334eed8ed99c60c0223d9536.tar.bz2 |
Little simplification in tkBind.c
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkBind.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c index 4821513..5c10a58 100644 --- a/generic/tkBind.c +++ b/generic/tkBind.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkBind.c,v 1.60 2010/01/06 14:58:30 dkf Exp $ + * RCS: @(#) $Id: tkBind.c,v 1.61 2010/01/29 23:29:06 nijtmans Exp $ */ #include "tkInt.h" @@ -2425,14 +2425,11 @@ ExpandPercents( } else if (flags & PROP) { string = TkFindStateString(propNotify, eventPtr->xproperty.state); - goto doString; } else if (flags & VISIBILITY) { string = TkFindStateString(visNotify, eventPtr->xvisibility.state); - goto doString; - } else { - goto doString; } + goto doString; case 't': if (flags & KEY_BUTTON_MOTION_VIRTUAL) { number = (int) eventPtr->xkey.time; |