0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.783

Problem:    Crash when mark is not set. (Dominique Pelle)
Solution:   Check for NULL.
This commit is contained in:
Bram Moolenaar
2013-01-24 21:00:20 +01:00
parent 0f2721223e
commit 15364d74ca
2 changed files with 3 additions and 0 deletions

View 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)