diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-06-21 15:18:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-06-21 15:18:18 (GMT) |
commit | 28381035e979943ffb752e4dbb73a9fcf2f52a8a (patch) | |
tree | a4fa0dedc6dd0d7bbdd5cb54dcd86d78a66e7b0a /generic/tkObj.c | |
parent | a2a53e76d1e9108d66095f9a8ba7cba7939deb56 (diff) | |
download | tk-28381035e979943ffb752e4dbb73a9fcf2f52a8a.zip tk-28381035e979943ffb752e4dbb73a9fcf2f52a8a.tar.gz tk-28381035e979943ffb752e4dbb73a9fcf2f52a8a.tar.bz2 |
(partial) fix for [a9929f112a]: Bugs in the implementation of TIP 577 ("Enhanced index values for Tk")
Diffstat (limited to 'generic/tkObj.c')
-rw-r--r-- | generic/tkObj.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/generic/tkObj.c b/generic/tkObj.c index 416b2dd..3da4f0c 100644 --- a/generic/tkObj.c +++ b/generic/tkObj.c @@ -246,13 +246,6 @@ TkGetIntForIndex( } return TCL_ERROR; } - if (*indexPtr < -1) { - *indexPtr = TCL_INDEX_NONE; - } else if (end >= -1) { - if (*indexPtr > end) { - *indexPtr = end + 1; - } - } return TCL_OK; } |