summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-01-17 03:35:00 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-01-17 03:35:00 (GMT)
commitcb16fb4f738320d0a3d992704d2d54b874a48535 (patch)
tree7ba4bea8b33aeafeff8e5bd19ed918e15cfec84a /mac
parent05ab9a9f8fe30aeffb17f7c043e02020901a9e5c (diff)
downloadtk-cb16fb4f738320d0a3d992704d2d54b874a48535.zip
tk-cb16fb4f738320d0a3d992704d2d54b874a48535.tar.gz
tk-cb16fb4f738320d0a3d992704d2d54b874a48535.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 'mac')
-rw-r--r--mac/tkMacFont.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mac/tkMacFont.c b/mac/tkMacFont.c
index 7e7c90b..f58c76d 100644
--- a/mac/tkMacFont.c
+++ b/mac/tkMacFont.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: tkMacFont.c,v 1.6 2001/11/23 02:05:48 das Exp $
+ * RCS: @(#) $Id: tkMacFont.c,v 1.7 2002/01/17 03:35:01 dgp Exp $
*/
#include <Windows.h>
@@ -257,7 +257,7 @@ static void ReleaseFont(MacFont *fontPtr);
static void ReleaseSubFont(SubFont *subFontPtr);
static int SeenName(CONST char *name, Tcl_DString *dsPtr);
-static char * BreakLine(FontFamily *familyPtr, int flags,
+static CONST char * BreakLine(FontFamily *familyPtr, int flags,
CONST char *source, int numBytes, int *widthPtr);
static int GetFamilyNum(CONST char *faceName, short *familyPtr);
static int GetFamilyOrAliasNum(CONST char *faceName,
@@ -761,7 +761,7 @@ Tk_MeasureChars(
int widthLeft;
FontFamily *thisFamilyPtr;
Tcl_UniChar ch;
- char *rest;
+ CONST char *rest;
/*
* How many chars will fit in the space allotted?
@@ -835,7 +835,7 @@ Tk_MeasureChars(
*---------------------------------------------------------------------------
*/
-static char *
+static CONST char *
BreakLine(
FontFamily *familyPtr, /* FontFamily that describes the font values
* that are already selected into the graphics