diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-22 08:58:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-22 08:58:46 (GMT) |
commit | 452161e760ca95d60fbbf4b8e3547102ef2b035d (patch) | |
tree | 483ce24a68b633ea0dbc6b282d550f31e07dbe6f /generic/tkCanvText.c | |
parent | 81ac88e72f468bd35eb1eb30d6947b6feb0af48d (diff) | |
parent | e64d38045b3d09b51e7f212794155a7df8b0bc1f (diff) | |
download | tk-452161e760ca95d60fbbf4b8e3547102ef2b035d.zip tk-452161e760ca95d60fbbf4b8e3547102ef2b035d.tar.gz tk-452161e760ca95d60fbbf4b8e3547102ef2b035d.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r-- | generic/tkCanvText.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c index 3adb43d..2407918 100644 --- a/generic/tkCanvText.c +++ b/generic/tkCanvText.c @@ -1523,11 +1523,6 @@ GetTextIndex( *indexPtr = Tk_PointToChar(textPtr->textLayout, (int) (x*cs - y*s), (int) (y*cs + x*s)); } else { - /* - * Some of the paths here leave messages in the interp's result, so we - * have to clear it out before storing our own message. - */ - badIndex: Tcl_SetObjResult(interp, Tcl_ObjPrintf("bad index \"%s\"", string)); Tcl_SetErrorCode(interp, "TK", "CANVAS", "ITEM_INDEX", "TEXT", NULL); |