mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -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:
parent
0f2721223e
commit
15364d74ca
@ -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)
|
||||
|
@ -725,6 +725,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
783,
|
||||
/**/
|
||||
782,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user