diff options
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 9fa594bc96..20e1fefbb4 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -2101,7 +2101,7 @@ char *did_set_spelllang(win_T *wp) // If the name ends in ".spl" use it as the name of the spell file. // If there is a region name let "region" point to it and remove it // from the name. - if (len > 4 && fnamecmp(lang + len - 4, ".spl") == 0) { + if (len > 4 && FNAMECMP(lang + len - 4, ".spl") == 0) { filename = true; // Locate a region and remove it from the file name. |