tweaks: rename an overlooked variable from a single letter to a word

This commit is contained in:
Benno Schulenberg 2019-02-20 17:39:04 +01:00
parent 82492ead47
commit d3fdd20471

View File

@ -2817,18 +2817,18 @@ void do_linter(void)
if (openfile->current_stat == NULL ||
openfile->current_stat->st_ino != lintfileinfo.st_ino) {
char *msg = charalloc(1024 + strlen(curlint->filename));
int i;
int choice;
sprintf(msg, _("This message is for unopened file %s,"
" open it in a new buffer?"), curlint->filename);
i = do_yesno_prompt(FALSE, msg);
choice = do_yesno_prompt(FALSE, msg);
currmenu = MLINTER;
free(msg);
if (i == -1) {
if (choice == -1) {
statusbar(_("Cancelled"));
break;
} else if (i == 1) {
} else if (choice == 1) {
open_buffer(curlint->filename, TRUE);
} else {
#endif