diff options
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spell.c b/src/spell.c index 5e37500051..757efc6acf 100644 --- a/src/spell.c +++ b/src/spell.c @@ -7031,7 +7031,7 @@ spell_read_wordfile(spin, fname) continue; /* empty or blank line */ rline[l] = NUL; - /* Convert from "=encoding={encoding}" to 'encoding' when needed. */ + /* Convert from "/encoding={encoding}" to 'encoding' when needed. */ vim_free(pc); #ifdef FEAT_MBYTE if (spin->si_conv.vc_type != CONV_NONE) @@ -7069,7 +7069,7 @@ spell_read_wordfile(spin, fname) char_u *enc; /* Setup for conversion to 'encoding'. */ - line += 10; + line += 9; enc = enc_canonize(line); if (enc != NULL && !spin->si_ascii && convert_setup(&spin->si_conv, enc, |