summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2008-12-05 09:33:12 (GMT)
committerpatthoyts <patthoyts@noemail.net>2008-12-05 09:33:12 (GMT)
commit7f6d1728c3315b3f26e008c6850c2c2258fa3c16 (patch)
tree481bd085409e672f2aea2561dbc1d711b642c7d5 /generic/tkTextIndex.c
parent5592c701b88e78291eb85a5e6d631799be328b9f (diff)
downloadtk-7f6d1728c3315b3f26e008c6850c2c2258fa3c16.zip
tk-7f6d1728c3315b3f26e008c6850c2c2258fa3c16.tar.gz
tk-7f6d1728c3315b3f26e008c6850c2c2258fa3c16.tar.bz2
Make TkTextMakeByteIndex implementation agree with the prototype (const-ness)
FossilOrigin-Name: 2ceae6be83a59b6375c5dcae4610fedf4dc4015e
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index b6eba35..7d900ee 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextIndex.c,v 1.32 2008/11/08 18:44:40 dkf Exp $
+ * RCS: @(#) $Id: tkTextIndex.c,v 1.33 2008/12/05 09:33:12 patthoyts Exp $
*/
#include "default.h"
@@ -382,7 +382,7 @@ TkTextMakePixelIndex(
TkTextIndex *
TkTextMakeByteIndex(
- TkTextBTree tree, /* Tree that lineIndex and byteIndex refer
+ const TkTextBTree tree, /* Tree that lineIndex and byteIndex refer
* to. */
const TkText *textPtr,
int lineIndex, /* Index of desired line (0 means first line