summaryrefslogtreecommitdiffstats
path: root/generic/tkTextBTree.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2013-02-27 14:41:41 (GMT)
committerjenglish <jenglish@flightlab.com>2013-02-27 14:41:41 (GMT)
commite918ab34fe11a725c7fa574d014c14643d2c7f01 (patch)
treee4c799bd7715375437a5ca9333297d2092c73630 /generic/tkTextBTree.c
parent3ce2b87dd5e2937555b28b21c6d40e812e77a3de (diff)
downloadtk-e918ab34fe11a725c7fa574d014c14643d2c7f01.zip
tk-e918ab34fe11a725c7fa574d014c14643d2c7f01.tar.gz
tk-e918ab34fe11a725c7fa574d014c14643d2c7f01.tar.bz2
Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper
exists and is used.
Diffstat (limited to 'generic/tkTextBTree.c')
-rw-r--r--generic/tkTextBTree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextBTree.c b/generic/tkTextBTree.c
index a06d7e9..e34dae7 100644
--- a/generic/tkTextBTree.c
+++ b/generic/tkTextBTree.c
@@ -1989,7 +1989,7 @@ TkBTreeLinesTo(
}
}
if (textPtr != NULL) {
- /*
+ /*
* The index to return must be relative to textPtr, not to the entire
* tree. Take care to never return a negative index when linePtr
* denotes a line before -startline, or an index larger than the