summaryrefslogtreecommitdiff
path: root/src/register.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-26 13:43:51 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-26 13:43:51 +0100
commitd672dde584effd55702ee15efec4cb2a8c77bf85 (patch)
tree742fb3cd5f535e1571827c81060572ce735ef96d /src/register.c
parentbc93cebb692f47488d66f078d1728031e9be35e7 (diff)
downloadvim-git-d672dde584effd55702ee15efec4cb2a8c77bf85.tar.gz
patch 8.2.0319: file missing in distribution, comments outdatedv8.2.0319
Problem: File missing in distribution, comments outdated. Solution: Correct path of README file. Update comments.
Diffstat (limited to 'src/register.c')
-rw-r--r--src/register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/register.c b/src/register.c
index 696000246..943298e97 100644
--- a/src/register.c
+++ b/src/register.c
@@ -2617,14 +2617,14 @@ getreg_wrap_one_line(char_u *s, int flags)
}
/*
- * Return the contents of a register as a single allocated string.
+ * Return the contents of a register as a single allocated string or as a list.
* Used for "@r" in expressions and for getreg().
* Returns NULL for error.
* Flags:
* GREG_NO_EXPR Do not allow expression register
* GREG_EXPR_SRC For the expression register: return expression itself,
* not the result of its evaluation.
- * GREG_LIST Return a list of lines in place of a single string.
+ * GREG_LIST Return a list of lines instead of a single string.
*/
char_u *
get_reg_contents(int regname, int flags)