summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkTextMark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextMark.c b/generic/tkTextMark.c
index 0e51e33..0ffede8 100644
--- a/generic/tkTextMark.c
+++ b/generic/tkTextMark.c
@@ -430,7 +430,7 @@ TkTextMarkNameToIndex(
*/
if (textPtr->start != NULL) {
- start = TkBTreeLinesTo(NULL, textPtr->start);
+ start = TkBTreeLinesTo(NULL, textPtr->start);
TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, NULL, start, 0,
&index);
if (TkTextIndexCmp(indexPtr, &index) < 0) {