mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-01 17:07:06 +03:00
tweaks: rename an overlooked variable from a single letter to a word
This commit is contained in:
parent
82492ead47
commit
d3fdd20471
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user