undo: when redoing, don't try to find a line number that might not exist
This fixes https://savannah.gnu.org/bugs/?53272.master
parent
a1be8b6a19
commit
e9eabdcdcb
|
@ -866,7 +866,7 @@ void do_redo(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
f = fsfromline(u->mark_begin_lineno);
|
f = fsfromline(u->type == INSERT ? 1 : u->mark_begin_lineno);
|
||||||
if (!f)
|
if (!f)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue