summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-09-06 11:33:37 +0000
committerBram Moolenaar <Bram@vim.org>2007-09-06 11:33:37 +0000
commit177d8c60ee214b53aeef580a8614247989c0de09 (patch)
treeb0b6e9828c77ef3b6e8c9244aee7c766a0ec74b0 /src/option.c
parentc27c8d5c5915650d5d1a4c1b37b39cd6d28e3f76 (diff)
downloadvim-git-177d8c60ee214b53aeef580a8614247989c0de09.tar.gz
updated for version 7.1-097v7.1.097
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index d02605ccf..893f1457c 100644
--- a/src/option.c
+++ b/src/option.c
@@ -6348,7 +6348,7 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
errmsg = check_stl_option(p_ruf);
}
/* check 'statusline' only if it doesn't start with "%!" */
- else if (varp != &p_stl || s[0] != '%' || s[1] != '!')
+ else if (varp == &p_ruf || s[0] != '%' || s[1] != '!')
errmsg = check_stl_option(s);
if (varp == &p_ruf && errmsg == NULL)
comp_col();