]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.783 v7.3.783
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Jan 2013 20:00:20 +0000 (21:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Jan 2013 20:00:20 +0000 (21:00 +0100)
Problem:    Crash when mark is not set. (Dominique Pelle)
Solution:   Check for NULL.

src/normal.c
src/version.c

index 3d5b6d8171cb0fb22f15d3ece854b8f980b4ec31..b7f3dd4f5ad2eca05071ec00e4ac0df5f34fff23 100644 (file)
@@ -7552,6 +7552,7 @@ nv_gomark(cap)
 #endif
 #ifdef FEAT_FOLDING
     if (cap->oap->op_type == OP_NOP
+           && pos != NULL
            && (pos == (pos_T *)-1 || !equalpos(old_cursor, *pos))
            && (fdo_flags & FDO_MARK)
            && old_KeyTyped)
index b60be3cd382372b4ccbde50b3dc742810d36a678..cd838d41bf1ed297c8655368bf3a4225d993da27 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    783,
 /**/
     782,
 /**/