summaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-20 10:56:16 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-20 10:56:16 +0000
commit48be32b61e01246e024bef85eeacdbfa116a8d91 (patch)
treeef8b288ba8e9c99043fe457a8bef696ed55712cf /src/ex_getln.c
parente82080179b24c930003e7fa2f580240c9aedd583 (diff)
downloadvim-git-48be32b61e01246e024bef85eeacdbfa116a8d91.tar.gz
updated for version 7.1-319v7.1.319
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 928fe2075..dabd65d14 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3032,10 +3032,7 @@ cmdline_paste_str(s, literally)
++s;
#ifdef FEAT_MBYTE
if (has_mbyte)
- {
- c = mb_ptr2char(s);
- s += mb_char2len(c);
- }
+ c = mb_cptr2char_adv(&s);
else
#endif
c = *s++;