summaryrefslogtreecommitdiffstats
path: root/mac/tkMacDialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'mac/tkMacDialog.c')
-rw-r--r--mac/tkMacDialog.c10
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 {