Mercurial > vim
diff src/option.c @ 917:94164a5b0626 v7.0.043
updated for version 7.0-043
author | vimboss |
---|---|
date | Tue, 08 Aug 2006 14:29:16 +0000 |
parents | 2548cf0a5f62 |
children | b2dcb8457067 |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -6325,7 +6325,8 @@ did_set_string_option(opt_idx, varp, new 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();