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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user