updated for version 7.1-190
diff --git a/src/normal.c b/src/normal.c
index d1be629..f5b7651 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -6564,6 +6564,12 @@
 	clearopbeep(cap->oap);
     else
     {
+	/* Don't leave the cursor on the NUL past a line */
+	if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
+	{
+	    --curwin->w_cursor.col;
+	    cap->oap->inclusive = TRUE;
+	}
 #ifdef FEAT_VIRTUALEDIT
 	curwin->w_cursor.coladd = 0;
 #endif
diff --git a/src/version.c b/src/version.c
index 4459e5f..9e3cff6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    190,
+/**/
     189,
 /**/
     188,