1
1

undo: when redoing, don't try to find a line number that might not exist

This fixes https://savannah.gnu.org/bugs/?53272.
Этот коммит содержится в:
Benno Schulenberg 2018-03-03 16:41:33 +01:00
родитель a1be8b6a19
Коммит e9eabdcdcb

Просмотреть файл

@ -866,7 +866,7 @@ void do_redo(void)
return;
}
f = fsfromline(u->mark_begin_lineno);
f = fsfromline(u->type == INSERT ? 1 : u->mark_begin_lineno);
if (!f)
return;