updated for version 7.1-319
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 928fe20..dabd65d 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3032,10 +3032,7 @@
 		++s;
 #ifdef FEAT_MBYTE
 	    if (has_mbyte)
-	    {
-		c = mb_ptr2char(s);
-		s += mb_char2len(c);
-	    }
+		c = mb_cptr2char_adv(&s);
 	    else
 #endif
 		c = *s++;
diff --git a/src/version.c b/src/version.c
index cf910b9..5a3f014 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    319,
+/**/
     318,
 /**/
     317,