mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
option: use char* for set_string_option_direct()
"name" param was cast to (const char *). All calls to set_string_option_direct() cast 1st arg from (char *) to (char_u *). Remove these useless casts.
This commit is contained in:
@@ -886,7 +886,7 @@ static uint8_t *command_line_enter(int firstc, long count, int indent)
|
||||
need_wait_return = false;
|
||||
}
|
||||
|
||||
set_string_option_direct((char_u *)"icm", -1, s->save_p_icm, OPT_FREE,
|
||||
set_string_option_direct("icm", -1, s->save_p_icm, OPT_FREE,
|
||||
SID_NONE);
|
||||
State = s->save_State;
|
||||
setmouse();
|
||||
|
Reference in New Issue
Block a user