summaryrefslogtreecommitdiffstats
path: root/mac/tkMacFont.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 /mac/tkMacFont.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 'mac/tkMacFont.c')
-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