mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
refactor: reduce number of explicit char casts (#16077)
* refactor: reduce number of explicit char casts
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user