diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-03-27 09:14:58 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-03-27 09:14:58 +0000 |
commit | 8fa331c4a7ed20194a81c2a9c5a9511ca2ab66dd (patch) | |
tree | ee493d30c99ceb5c734a159563bede09e88fe6be /Build/source/texk/web2c/xetexdir/XeTeX_ext.c | |
parent | ee5049fdbb8acbbac0e06dd1450e94a3ccdba59f (diff) |
clean up some const-string warnings
git-svn-id: svn://tug.org/texlive/trunk@7184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeX_ext.c')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c index e49cb8abe06..2dfae15fa7f 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c @@ -169,8 +169,8 @@ const UInt32 byteMark = 0x00000080UL; /* if the user specifies a paper size or output driver program */ -string papersize; -string outputdriver = "xdvipdfmx -q -E"; /* default to portable xdvipdfmx driver */ +const_string papersize; +const_string outputdriver = "xdvipdfmx -q -E"; /* default to portable xdvipdfmx driver */ void initversionstring(char **versions) @@ -181,7 +181,7 @@ void initversionstring(char **versions) extern FT_Library gFreeTypeLibrary; /* in XeTeXFontInst_FT2 */ FT_Int ftMajor, ftMinor, ftPatch; - char* fmt = + const_string fmt = "Compiled with ICU version %s [with modifications for XeTeX]\n" "Compiled with zlib version %s; using %s\n" "Compiled with FreeType2 version %d.%d.%d; using %d.%d.%d\n" @@ -348,7 +348,7 @@ static char* byteBuffer = NULL; return true; } -static void die(char*s, int i) +static void die(const_string s, int i) { fprintf(stderr, s, i); fprintf(stderr, " - exiting\n"); |