aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index b7df856949..5dd7d708f9 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2419,7 +2419,7 @@ static char *did_set_string_option(int opt_idx, char_u **varp, bool new_value_al
}
} else if (varp == &p_hl) {
// 'highlight'
- if (strcmp((char *)(*varp), HIGHLIGHT_INIT) != 0) {
+ if (STRCMP(*varp, HIGHLIGHT_INIT) != 0) {
errmsg = e_unsupportedoption;
}
} else if (varp == &p_jop) { // 'jumpoptions'