tweaks: rename an overlooked variable from a single letter to a word
Этот коммит содержится в:
родитель
82492ead47
Коммит
d3fdd20471
@ -2817,18 +2817,18 @@ void do_linter(void)
|
|||||||
if (openfile->current_stat == NULL ||
|
if (openfile->current_stat == NULL ||
|
||||||
openfile->current_stat->st_ino != lintfileinfo.st_ino) {
|
openfile->current_stat->st_ino != lintfileinfo.st_ino) {
|
||||||
char *msg = charalloc(1024 + strlen(curlint->filename));
|
char *msg = charalloc(1024 + strlen(curlint->filename));
|
||||||
int i;
|
int choice;
|
||||||
|
|
||||||
sprintf(msg, _("This message is for unopened file %s,"
|
sprintf(msg, _("This message is for unopened file %s,"
|
||||||
" open it in a new buffer?"), curlint->filename);
|
" open it in a new buffer?"), curlint->filename);
|
||||||
i = do_yesno_prompt(FALSE, msg);
|
choice = do_yesno_prompt(FALSE, msg);
|
||||||
currmenu = MLINTER;
|
currmenu = MLINTER;
|
||||||
free(msg);
|
free(msg);
|
||||||
|
|
||||||
if (i == -1) {
|
if (choice == -1) {
|
||||||
statusbar(_("Cancelled"));
|
statusbar(_("Cancelled"));
|
||||||
break;
|
break;
|
||||||
} else if (i == 1) {
|
} else if (choice == 1) {
|
||||||
open_buffer(curlint->filename, TRUE);
|
open_buffer(curlint->filename, TRUE);
|
||||||
} else {
|
} else {
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user