forked from aniani/vim
patch 8.2.3596: crash when using :pedit in Vim9 script
Problem: Crash when using :pedit in Vim9 script.
Solution: Move check for arguments to after checking there are arguments.
(Yegappan Lakshmanan, closes #9134, closes #9135)
This commit is contained in:
committed by
Bram Moolenaar
parent
0d5a12ea04
commit
733b124a90
@@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3596,
|
||||
/**/
|
||||
3595,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user