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>
diff --git a/src/getchar.c b/src/getchar.c
index 39e9e78..c26b442 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -204,7 +204,7 @@
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;
}