patch 9.1.1216: Pasting the '.' register multiple times may not work
Problem: Pasting the '.' register multiple times may work incorrectly
when the last insert starts with Ctrl-D and ends with '0'.
(after 9.1.1212)
Solution: Restore the missing assignment (zeertzjq).
closes: #16908
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
ad2f6b6662
commit
61b3544424
@ -204,7 +204,7 @@ get_recorded(void)
|
||||
get_inserted(void)
|
||||
{
|
||||
size_t len = 0;
|
||||
char_u* str = get_buffcont(&redobuff, FALSE, &len);
|
||||
char_u *str = get_buffcont(&redobuff, FALSE, &len);
|
||||
string_T ret = { str, len };
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user