blob: 5de7ad8219c8ed95ef472fd2094a375f9b8df958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- generic/bltSwitch.c.orig 2013-11-18 17:14:04.000000000 +0100
+++ generic/bltSwitch.c 2013-11-18 17:14:37.000000000 +0100
@@ -111,7 +111,7 @@
if (specPtr->switchName == NULL) {
continue;
}
- if (name[1] != '?' || specPtr->type < 0 || specPtr->type >= BLT_SWITCH_END) {
+ if (name[1] != '?' || specPtr->type == 0 || specPtr->type >= BLT_SWITCH_END) {
Tcl_AppendResult(interp, specPtr->switchName, " ", 0);
} else {
static char *typenames[BLT_SWITCH_END+10] = {
|