summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvText.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-17 03:35:00 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-17 03:35:00 (GMT)
commite2d6df79c697064b173e14f29a157733ad3a9a6f (patch)
tree7ba4bea8b33aeafeff8e5bd19ed918e15cfec84a /generic/tkCanvText.c
parentce1f89bf15dec76c7845f7678f3c12cb56e0bc4a (diff)
downloadtk-e2d6df79c697064b173e14f29a157733ad3a9a6f.zip
tk-e2d6df79c697064b173e14f29a157733ad3a9a6f.tar.gz
tk-e2d6df79c697064b173e14f29a157733ad3a9a6f.tar.bz2
* Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27
API changes (see Tcl Patch 471509). [Patch 471513]
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r--generic/tkCanvText.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c
index ef57473..f8d0d7b 100644
--- a/generic/tkCanvText.c
+++ b/generic/tkCanvText.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvText.c,v 1.10 2001/08/17 21:08:28 drh Exp $
+ * RCS: @(#) $Id: tkCanvText.c,v 1.11 2002/01/17 03:35:00 dgp Exp $
*/
#include <stdio.h>
@@ -1376,7 +1376,8 @@ GetSelText(canvas, itemPtr, offset, buffer, maxBytes)
{
TextItem *textPtr = (TextItem *) itemPtr;
int byteCount;
- char *text, *selStart, *selEnd;
+ char *text;
+ CONST char *selStart, *selEnd;
Tk_CanvasTextInfo *textInfoPtr = textPtr->textInfoPtr;
if ((textInfoPtr->selectFirst < 0) ||