summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:09:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:09:58 (GMT)
commitc253a25bf983c9a6f1ac39689d16b886fbbde7bf (patch)
tree04d4d861caa4e4dc9dbe83d3ea6b1cc5b5c54aea /generic/tkTextIndex.c
parente2d41cd9d979b5877eba4870b5e20df072050acc (diff)
downloadtk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.zip
tk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.tar.gz
tk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.tar.bz2
Fix Tk_CharBbox/Tk_DrawTextLayout signature (int -> Tcl_Size). Update documentation.
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index b0a5c94..14e9106 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -1109,7 +1109,7 @@ TkTextPrintIndex(
{
TkTextSegment *segPtr;
TkTextLine *linePtr;
- int numBytes, charIndex;
+ Tcl_Size numBytes, charIndex;
numBytes = indexPtr->byteIndex;
charIndex = 0;