updated for version 7.1-188
diff --git a/src/edit.c b/src/edit.c
index f528b96..2663e6e 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -550,7 +550,7 @@
 	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 92cd49b..5e84c66 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    188,
+/**/
     187,
 /**/
     186,