Commit e9eabdcd authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

This fixes https://savannah.gnu.org/bugs/?53272.
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment