# HG changeset patch # User Bram Moolenaar # Date 1359057620 -3600 # Node ID a80af62d5e3b3614ff9e058f42647c99bffe7481 # Parent 8c50963f306ff54af298fb4868edc1d48377499c updated for version 7.3.783 Problem: Crash when mark is not set. (Dominique Pelle) Solution: Check for NULL. diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -726,6 +726,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 783, +/**/ 782, /**/ 781,