summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-07-29 13:03:35 +0000
committerBram Moolenaar <Bram@vim.org>2007-07-29 13:03:35 +0000
commit0cbac5bf6a9386ae60163141225ad402b90a8ab8 (patch)
tree02d230be720c6077c27cef118912f0541024cb17
parent7662423e10ca5762356eba039b6a5d922e84cd4d (diff)
updated for version 7.1-044v7.1.044
-rw-r--r--src/edit.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 611354160c..3da53bfdc2 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -8000,7 +8000,8 @@ ins_shift(c, lastc)
/*
* 0^D and ^^D: remove all indent.
*/
- if ((lastc == '0' || lastc == '^') && curwin->w_cursor.col)
+ if (c == Ctrl_D && (lastc == '0' || lastc == '^')
+ && curwin->w_cursor.col > 0)
{
--curwin->w_cursor.col;
(void)del_char(FALSE); /* delete the '^' or '0' */
diff --git a/src/version.c b/src/version.c
index c3f9bc520a..7f9215ee44 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 44,
+/**/
43,
/**/
42,