database: TxDialog() constification ripple
This commit is contained in:
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? ",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue