mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-30 01:48:43 +02:00
database: TxDialog() constification ripple
This commit is contained in:
committed by
Tim Edwards
parent
aa35a612b0
commit
9aef87c355
@@ -288,7 +288,7 @@ DBCellDelete(cellname, force)
|
||||
if ((force == FALSE) &&
|
||||
(celldef->cd_flags & (CDMODIFIED|CDBOXESCHANGED|CDSTAMPSCHANGED)))
|
||||
{
|
||||
static char *yesno[] = { "no", "yes", 0 };
|
||||
static const char *yesno[] = { "no", "yes", 0 };
|
||||
int code;
|
||||
char *prompt = TxPrintString("Cell %s has been modified.\n Do you"
|
||||
" want to delete it and lose all changes? ",
|
||||
|
||||
+1
-1
@@ -1074,7 +1074,7 @@ DBFileRecovery(filename)
|
||||
time_t recent = 0;
|
||||
char *snptr, *tempdir, tempname[1024];
|
||||
int pid;
|
||||
static char *actionNames[] = {"read", "cancel", 0 };
|
||||
static const char *actionNames[] = {"read", "cancel", 0 };
|
||||
char *prompt;
|
||||
int action;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user