1
1

tweaks: include an extra function call only where it is needed

And fix a typo.
Этот коммит содержится в:
Benno Schulenberg 2018-11-05 10:21:17 +01:00
родитель 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);
}
}