diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-10-12 20:58:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-10-12 20:58:49 +0000 |
commit | a5fac54aead319a3a47849df0f2dc1fc59c5dd11 (patch) | |
tree | d4614c84f224b4525357ffaa911c239ee4ea784b /src | |
parent | 61036991abe29d4b701cc442d1630f012cd20b21 (diff) |
updated for version 7.0157
Diffstat (limited to 'src')
-rw-r--r-- | src/ops.c | 7 | ||||
-rw-r--r-- | src/version.h | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -3724,10 +3724,13 @@ end: && curwin->w_cursor.col > 0 && !(restart_edit || (State & INSERT))) { - --curwin->w_cursor.col; +#ifdef FEAT_VIRTUALEDIT + col = curwin->w_cursor.col; +#endif + dec_cursor(); #ifdef FEAT_VIRTUALEDIT if (ve_flags == VE_ALL) - ++curwin->w_cursor.coladd; + curwin->w_cursor.coladd = col - curwin->w_cursor.col; #endif } } diff --git a/src/version.h b/src/version.h index 3434c6555b..e0679eafbe 100644 --- a/src/version.h +++ b/src/version.h @@ -36,5 +36,5 @@ #define VIM_VERSION_NODOT "vim70aa" #define VIM_VERSION_SHORT "7.0aa" #define VIM_VERSION_MEDIUM "7.0aa ALPHA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Oct 11)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Oct 11, compiled " +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Oct 12)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Oct 12, compiled " |