aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/MapInfo.c6
1 files changed, 3 insertions, 3 deletions
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 {