database: TxDialog() constification ripple

This commit is contained in:
Darryl L. Miles 2025-01-31 17:36:21 +00:00 committed by Tim Edwards
parent aa35a612b0
commit 9aef87c355
2 changed files with 2 additions and 2 deletions

View File

@ -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? ",

View File

@ -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;