mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
textio: constify various data
This commit is contained in:
committed by
Tim Edwards
parent
7e1692800b
commit
c92ded99df
+4
-4
@@ -814,14 +814,14 @@ void
|
||||
txLogCommand(
|
||||
TxCommand *cmd)
|
||||
{
|
||||
static char *txButTable[] =
|
||||
static const char *txButTable[] =
|
||||
{
|
||||
"left",
|
||||
"middle",
|
||||
"right",
|
||||
0
|
||||
};
|
||||
static char *txActTable[] =
|
||||
static const char *txActTable[] =
|
||||
{
|
||||
"down",
|
||||
"up",
|
||||
@@ -829,9 +829,9 @@ txLogCommand(
|
||||
};
|
||||
|
||||
#ifdef MAGIC_WRAPPER
|
||||
char *pfix = "";
|
||||
const char *pfix = "";
|
||||
#else
|
||||
char *pfix = ":";
|
||||
const char *pfix = ":";
|
||||
#endif
|
||||
|
||||
/* Do not do anything if there is no log file */
|
||||
|
||||
Reference in New Issue
Block a user