updated for version 7.0222
diff --git a/src/mbyte.c b/src/mbyte.c
index 4cd7e96..a27649a 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -754,7 +754,7 @@
apply_autocmds(EVENT_ENCODINGCHANGED, NULL, (char_u *)"", FALSE, curbuf);
#endif
-#ifdef FEAT_SYN_HL
+#ifdef FEAT_SPELL
/* Need to reload spell dictionaries */
spell_reload();
#endif
@@ -2722,7 +2722,7 @@
return count;
}
-#if defined(FEAT_SYN_HL) || defined(PROTO)
+#if defined(FEAT_SPELL) || defined(PROTO)
/*
* Like mb_charlen() but for a string with specified length.
*/