summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvText.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r--generic/tkCanvText.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c
index 873c2eb..3f4a3a9 100644
--- a/generic/tkCanvText.c
+++ b/generic/tkCanvText.c
@@ -1020,7 +1020,7 @@ TextInsert(
const char *string;
Tk_CanvasTextInfo *textInfoPtr = textPtr->textInfoPtr;
- string = TkGetStringFromObj(obj, &byteCount);
+ string = Tcl_GetStringFromObj(obj, &byteCount);
text = textPtr->text;
@@ -1399,7 +1399,7 @@ GetTextIndex(
return TCL_OK;
}
- string = TkGetStringFromObj(obj, &length);
+ string = Tcl_GetStringFromObj(obj, &length);
c = string[0];
if ((c == 'i')