summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-10-12 20:58:49 +0000
committerBram Moolenaar <Bram@vim.org>2005-10-12 20:58:49 +0000
commita5fac54aead319a3a47849df0f2dc1fc59c5dd11 (patch)
treed4614c84f224b4525357ffaa911c239ee4ea784b /src
parent61036991abe29d4b701cc442d1630f012cd20b21 (diff)
updated for version 7.0157
Diffstat (limited to 'src')
-rw-r--r--src/ops.c7
-rw-r--r--src/version.h4
2 files changed, 7 insertions, 4 deletions
diff --git a/src/ops.c b/src/ops.c
index dc0e52bc1b..a88c907392 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -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 "