diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-12-05 09:33:12 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-12-05 09:33:12 (GMT) |
commit | f4a7a0e6ec336aad2e6d470e5a28f4360da2227f (patch) | |
tree | 481bd085409e672f2aea2561dbc1d711b642c7d5 | |
parent | b03fbd581208efaae3c161c9222c0bd6e5b61d96 (diff) | |
download | tk-f4a7a0e6ec336aad2e6d470e5a28f4360da2227f.zip tk-f4a7a0e6ec336aad2e6d470e5a28f4360da2227f.tar.gz tk-f4a7a0e6ec336aad2e6d470e5a28f4360da2227f.tar.bz2 |
Make TkTextMakeByteIndex implementation agree with the prototype (const-ness)
-rw-r--r-- | generic/tkTextIndex.c | 4 |
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 |