commit | 15364d74ca33d8d722483c7b8ebede17f344ab8c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 24 21:00:20 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 24 21:00:20 2013 +0100 |
tree | 4d51d77632263491ed5c90b22a4625c329984627 | |
parent | 0f2721223e5b97ac250d729b2359471241a3ab7d [diff] [blame] |
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 index 3d5b6d8..b7f3dd4 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -7552,6 +7552,7 @@ #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)