diff options
Diffstat (limited to 'src/spellfile.c')
-rw-r--r-- | src/spellfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c index aaacb2e448..22cf82da08 100644 --- a/src/spellfile.c +++ b/src/spellfile.c @@ -6414,7 +6414,8 @@ init_spellfile(void) fname != NULL && strstr((char *)gettail(fname), ".ascii.") != NULL ? (char_u *)"ascii" : spell_enc()); - set_option_value((char_u *)"spellfile", 0L, buf, OPT_LOCAL); + set_option_value_give_err((char_u *)"spellfile", + 0L, buf, OPT_LOCAL); break; } aspath = FALSE; |