patch 8.2.0932: missspelling spelllang
Problem: Missspelling spelllang.
Solution: Add an "l". (Dominique Pelle)
diff --git a/src/spell.c b/src/spell.c
index 20826f3..cdb8e2f 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -2002,7 +2002,7 @@
region = NULL;
len = (int)STRLEN(lang);
- if (!valid_spellang(lang))
+ if (!valid_spelllang(lang))
continue;
if (STRCMP(lang, "cjk") == 0)
@@ -4303,10 +4303,10 @@
}
/*
- * Return TRUE if "val" is a valid 'spellang' value.
+ * Return TRUE if "val" is a valid 'spelllang' value.
*/
int
-valid_spellang(char_u *val)
+valid_spelllang(char_u *val)
{
return valid_name(val, ".-_,@");
}