commit | 3709e7c885c178863a6c31300b3bda2145442a59 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 08 14:29:16 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 08 14:29:16 2006 +0000 |
tree | 7a7be6dbca39b11b10e3a879fd66b9f5adaee7d3 | |
parent | 12dec75f7170a66ff60aa4e98fd4ae98657f2b07 [diff] [blame] |
updated for version 7.0-043
diff --git a/src/option.c b/src/option.c index bd19916..08e555b 100644 --- a/src/option.c +++ b/src/option.c
@@ -6325,7 +6325,8 @@ 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();