From 036df51561c880e17954a842714086a0d83b958c Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 9 Dec 2002 14:48:28 +0000 Subject: * Modif pour avoir une compilation propre en Tcl --- generic/MapInfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'generic/MapInfo.c') diff --git a/generic/MapInfo.c b/generic/MapInfo.c index c9eb779..a19e8dd 100644 --- a/generic/MapInfo.c +++ b/generic/MapInfo.c @@ -1606,11 +1606,11 @@ MapInfoObjCmd(ClientData client_data, int index, index2, result; MapInfoMaster *master; Tcl_Obj *l; - static char *sub_cmd_strings[] = { + static CONST char *sub_cmd_strings[] = { "add", "count", "create", "delete", "duplicate", "get", "remove", "replace", "scale", "translate", NULL }; - static char *e_type_strings[] = { + static CONST char *e_type_strings[] = { "arc", "line", "symbol", "text", NULL }; enum sub_cmds { @@ -2077,7 +2077,7 @@ VideomapObjCmd(ClientData client_data, int index; int *id_array, id_num, i; Tcl_Obj *l; - static char *sub_cmd_strings[] = { + static CONST char *sub_cmd_strings[] = { "ids", "load", NULL }; enum sub_cmds { -- cgit v1.1