diff options
author | das <das> | 2002-01-18 03:24:24 (GMT) |
---|---|---|
committer | das <das> | 2002-01-18 03:24:24 (GMT) |
commit | a3d881197e5917f74f74e8996404f5cf21af1a40 (patch) | |
tree | 522a5c76a926c47b72e820f32a3d819684ebf910 /mac/tkMacDialog.c | |
parent | 2ff1635d999d598c52074df4059932c9e4175454 (diff) | |
download | tk-a3d881197e5917f74f74e8996404f5cf21af1a40.zip tk-a3d881197e5917f74f74e8996404f5cf21af1a40.tar.gz tk-a3d881197e5917f74f74e8996404f5cf21af1a40.tar.bz2 |
* mac/tkMacDialog.c:
* mac/tkMacSend.c: TIP 27 CONSTification broke the mac
build in a few places.
Diffstat (limited to 'mac/tkMacDialog.c')
-rw-r--r-- | mac/tkMacDialog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mac/tkMacDialog.c b/mac/tkMacDialog.c index d242c01..03fb495 100644 --- a/mac/tkMacDialog.c +++ b/mac/tkMacDialog.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacDialog.c,v 1.7 2001/11/23 02:05:41 das Exp $ + * RCS: @(#) $Id: tkMacDialog.c,v 1.8 2002/01/18 03:24:24 das Exp $ */ #include <Gestalt.h> @@ -141,7 +141,7 @@ Tk_ChooseColorObjCmd( OSErr err; static inited = 0; static RGBColor in; - static char *optionStrings[] = { + static CONST char *optionStrings[] = { "-initialcolor", "-parent", "-title", NULL }; enum options { @@ -304,7 +304,7 @@ Tk_GetOpenFileObjCmd( Str255 message, title; AEDesc initialDesc = {typeNull, NULL}; FSSpec dirSpec; - static char *openOptionStrings[] = { + static CONST char *openOptionStrings[] = { "-defaultextension", "-filetypes", "-initialdir", "-initialfile", "-message", "-multiple", @@ -453,7 +453,7 @@ Tk_GetSaveFileObjCmd( FSSpec dirSpec; Str255 title, message; OpenFileData ofd; - static char *saveOptionStrings[] = { + static CONST char *saveOptionStrings[] = { "-defaultextension", "-filetypes", "-initialdir", "-initialfile", "-message", "-parent", "-title", NULL }; @@ -595,7 +595,7 @@ Tk_ChooseDirectoryObjCmd(clientData, interp, objc, objv) Str255 message, title; int srcRead, dstWrote; OpenFileData ofd; - static char *chooseOptionStrings[] = { + static CONST char *chooseOptionStrings[] = { "-initialdir", "-message", "-mustexist", "-parent", "-title", NULL }; enum chooseOptions { |