Skip to content

Commit e3f9841

Browse files
authored
Merge pull request #433 from macvim-dev/fix/option
Fix :set crash
2 parents fd114bd + 1de4548 commit e3f9841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/option.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2190,7 +2190,7 @@ static struct vimoption options[] =
21902190
SCRIPTID_INIT},
21912191
{"pythonthreehome", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
21922192
(char_u *)&p_py3home, PV_NONE,
2193-
{(char_u *)NULL, (char_u *)0L}
2193+
{(char_u *)"", (char_u *)0L}
21942194
SCRIPTID_INIT},
21952195
#endif
21962196
#if defined(DYNAMIC_PYTHON)
@@ -2200,7 +2200,7 @@ static struct vimoption options[] =
22002200
SCRIPTID_INIT},
22012201
{"pythonhome", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
22022202
(char_u *)&p_pyhome, PV_NONE,
2203-
{(char_u *)NULL, (char_u *)0L}
2203+
{(char_u *)"", (char_u *)0L}
22042204
SCRIPTID_INIT},
22052205
#endif
22062206
{"quoteescape", "qe", P_STRING|P_ALLOCED|P_VI_DEF,

0 commit comments

Comments
 (0)