summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-29 23:29:05 (GMT)
committernijtmans <nijtmans>2010-01-29 23:29:05 (GMT)
commit9eb9490bdd0af957334eed8ed99c60c0223d9536 (patch)
treee2ae24557f012f79ecebc04b4fa338009270046d /generic/tkBind.c
parent1e548bf42e74260b2f01ca4505406c2380c6ae61 (diff)
downloadtk-9eb9490bdd0af957334eed8ed99c60c0223d9536.zip
tk-9eb9490bdd0af957334eed8ed99c60c0223d9536.tar.gz
tk-9eb9490bdd0af957334eed8ed99c60c0223d9536.tar.bz2
Little simplification in tkBind.c
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r--generic/tkBind.c7
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;