summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-01-02 21:09:33 +0000
committervimboss <devnull@localhost>2008-01-02 21:09:33 +0000
commit2a2ec1b653d584a099a56d3fdcc0ef5a04bcd514 (patch)
tree812e45a6f2891a8a47c4c88911d84b6914429de0
parent994bbb97fced3dd93fdf3af35e78bab56d1dd8ba (diff)
downloadvim-2a2ec1b653d584a099a56d3fdcc0ef5a04bcd514.tar.gz
updated for version 7.1-188v7.1.188v7-1-188
-rw-r--r--src/edit.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index f528b964..2663e6e9 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -550,7 +550,7 @@ edit(cmdchar, startln, count)
i = showmode();
if (!p_im && did_restart_edit == 0)
- change_warning(i + 1);
+ change_warning(i == 0 ? 0 : i + 1);
#ifdef CURSOR_SHAPE
ui_cursor_shape(); /* may show different cursor shape */
diff --git a/src/version.c b/src/version.c
index 92cd49b7..5e84c660 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 */
/**/
+ 188,
+/**/
187,
/**/
186,