1
0
forked from aniani/vim

updated for version 7.0-043

This commit is contained in:
Bram Moolenaar
2006-08-08 14:29:16 +00:00
parent 12dec75f71
commit 3709e7c885
2 changed files with 4 additions and 1 deletions

View File

@@ -6325,7 +6325,8 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
else
errmsg = check_stl_option(p_ruf);
}
else
/* check 'statusline' only if it doesn't start with "%!" */
else if (varp != &p_stl || s[0] != '%' || s[1] != '!')
errmsg = check_stl_option(s);
if (varp == &p_ruf && errmsg == NULL)
comp_col();