mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
refactor: reduce number of explicit char casts (#16077)
* refactor: reduce number of explicit char casts
This commit is contained in:
@@ -393,7 +393,7 @@ void terminal_enter(void)
|
||||
long save_w_p_so = curwin->w_p_so;
|
||||
long save_w_p_siso = curwin->w_p_siso;
|
||||
if (curwin->w_p_cul && curwin->w_p_culopt_flags & CULOPT_NBR) {
|
||||
if (strcmp((char *)curwin->w_p_culopt, "number")) {
|
||||
if (STRCMP(curwin->w_p_culopt, "number")) {
|
||||
save_w_p_culopt = curwin->w_p_culopt;
|
||||
curwin->w_p_culopt = (char_u *)xstrdup("number");
|
||||
}
|
||||
|
Reference in New Issue
Block a user