diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-06-28 20:18:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-06-28 20:18:51 +0000 |
commit | e649ef0fdd684ddf7dc2f2e1eeae56bb76390a3d (patch) | |
tree | 98355c814f0fa4c755b851c1c8eaf624256998be /src/ops.c | |
parent | 5386a123f5038d397848cc0183eda93c7c8b9d95 (diff) | |
download | vim-git-e649ef0fdd684ddf7dc2f2e1eeae56bb76390a3d.tar.gz |
updated for version 7.1-018v7.1.018
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3404,7 +3404,9 @@ do_put(regname, dir, count, flags) #ifdef FEAT_VIRTUALEDIT col += curwin->w_cursor.coladd; - if (ve_flags == VE_ALL && curwin->w_cursor.coladd > 0) + if (ve_flags == VE_ALL + && (curwin->w_cursor.coladd > 0 + || endcol2 == curwin->w_cursor.col)) { if (dir == FORWARD && c == NUL) ++col; |