textio: constify various data
This commit is contained in:
parent
7e1692800b
commit
c92ded99df
|
|
@ -814,14 +814,14 @@ void
|
||||||
txLogCommand(
|
txLogCommand(
|
||||||
TxCommand *cmd)
|
TxCommand *cmd)
|
||||||
{
|
{
|
||||||
static char *txButTable[] =
|
static const char *txButTable[] =
|
||||||
{
|
{
|
||||||
"left",
|
"left",
|
||||||
"middle",
|
"middle",
|
||||||
"right",
|
"right",
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static char *txActTable[] =
|
static const char *txActTable[] =
|
||||||
{
|
{
|
||||||
"down",
|
"down",
|
||||||
"up",
|
"up",
|
||||||
|
|
@ -829,9 +829,9 @@ txLogCommand(
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef MAGIC_WRAPPER
|
#ifdef MAGIC_WRAPPER
|
||||||
char *pfix = "";
|
const char *pfix = "";
|
||||||
#else
|
#else
|
||||||
char *pfix = ":";
|
const char *pfix = ":";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Do not do anything if there is no log file */
|
/* Do not do anything if there is no log file */
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ HashTable cellname_hash;
|
||||||
|
|
||||||
static int interactive_flag;
|
static int interactive_flag;
|
||||||
|
|
||||||
char *magic_direction_list[] = {
|
const char *magic_direction_list[] = {
|
||||||
"bottom", "down", "e", "east", "left", "n", "north", "right",
|
"bottom", "down", "e", "east", "left", "n", "north", "right",
|
||||||
"s", "south", "top", "up", "w", "west", (char *)NULL };
|
"s", "south", "top", "up", "w", "west", (char *)NULL };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue