summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2007-07-29 13:03:35 +0000
committervimboss <devnull@localhost>2007-07-29 13:03:35 +0000
commitfd6b5e92b174d75e3e62691924b007ea71cee634 (patch)
tree02d230be720c6077c27cef118912f0541024cb17
parentb4ef3ef2a1050c41b872aa4a068f49e4f87577f0 (diff)
downloadvim-fd6b5e92b174d75e3e62691924b007ea71cee634.tar.gz
updated for version 7.1-044v7.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 61135416..3da53bfd 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 c3f9bc52..7f9215ee 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,