diff src/syntax.c @ 1064:a8bcc7553263 v7.0.190

updated for version 7.0-190
author vimboss
date Sun, 04 Feb 2007 01:48:10 +0000
parents 5044d9d784ed
children 9abe06cc329f
line wrap: on
line diff
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3206,7 +3206,7 @@ syn_cmd_spell(eap, syncing)
 	curbuf->b_syn_spell = SYNSPL_TOP;
     else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
 	curbuf->b_syn_spell = SYNSPL_NOTOP;
-    else if (STRNICMP(arg, "default", 4) == 0 && next - arg == 4)
+    else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
 	curbuf->b_syn_spell = SYNSPL_DEFAULT;
     else
 	EMSG2(_("E390: Illegal argument: %s"), arg);