summaryrefslogtreecommitdiffstats
path: root/generic/tkTextBTree.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-27 12:36:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-27 12:36:56 (GMT)
commit3ce2b87dd5e2937555b28b21c6d40e812e77a3de (patch)
treec60953cf292d7784e416ed6fd0555d89d2e6f2c3 /generic/tkTextBTree.c
parent80385b31add9a7e4f9d43b78ff46591fb0def3d6 (diff)
downloadtk-3ce2b87dd5e2937555b28b21c6d40e812e77a3de.zip
tk-3ce2b87dd5e2937555b28b21c6d40e812e77a3de.tar.gz
tk-3ce2b87dd5e2937555b28b21c6d40e812e77a3de.tar.bz2
Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around Tcl_GetIndexFromObjStruct.
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 e34dae7..a06d7e9 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