tweaks: include an extra function call only where it is needed
And fix a typo.
Этот коммит содержится в:
родитель
9d9ae8dc76
Коммит
9923b073af
@ -1330,13 +1330,15 @@ int parse_escape_sequence(WINDOW *win, int kbinput)
|
||||
/* If we got an unrecognized escape sequence, notify the user. */
|
||||
if (retval == ERR && win == edit) {
|
||||
/* TRANSLATORS: This refers to a sequence of escape codes
|
||||
* (from the keyboard) that nano does not recogize. */
|
||||
* (from the keyboard) that nano does not recognize. */
|
||||
statusline(ALERT, _("Unknown sequence"));
|
||||
suppress_cursorpos = FALSE;
|
||||
lastmessage = HUSH;
|
||||
if (currmenu == MMAIN) {
|
||||
place_the_cursor();
|
||||
#ifdef __NetBSD__
|
||||
wnoutrefresh(edit); /* Needed for correct placement on NetBSD. */
|
||||
#endif
|
||||
curs_set(1);
|
||||
}
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user