diff options
Diffstat (limited to 'src/spellfile.c')
-rw-r--r-- | src/spellfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellfile.c b/src/spellfile.c index 2616afbbb..00c72f6f1 100644 --- a/src/spellfile.c +++ b/src/spellfile.c @@ -1734,7 +1734,7 @@ spell_reload_one( for (slang = first_lang; slang != NULL; slang = slang->sl_next) { - if (fullpathcmp(fname, slang->sl_fname, FALSE) == FPC_SAME) + if (fullpathcmp(fname, slang->sl_fname, FALSE, TRUE) == FPC_SAME) { slang_clear(slang); if (spell_load_file(fname, NULL, slang, FALSE) == NULL) @@ -5440,7 +5440,7 @@ spell_make_sugfile(spellinfo_T *spin, char_u *wfname) * It might have been done already by spell_reload_one(). */ for (slang = first_lang; slang != NULL; slang = slang->sl_next) - if (fullpathcmp(wfname, slang->sl_fname, FALSE) == FPC_SAME) + if (fullpathcmp(wfname, slang->sl_fname, FALSE, TRUE) == FPC_SAME) break; if (slang == NULL) { |