undo: when redoing, don't try to find a line number that might not exist
This fixes https://savannah.gnu.org/bugs/?53272.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user