refactor(option.c): remove did_set_string_option alias

This commit is contained in:
Lewis Russell
2023-07-12 13:56:33 +01:00
parent 4b0b798eba
commit 3b02e1281a
2 changed files with 6 additions and 13 deletions

View File

@@ -1172,7 +1172,7 @@ static void do_set_option_string(int opt_idx, int opt_flags, char **argp, int ne
// Handle side effects, and set the global value for ":set" on local
// options. Note: when setting 'syntax' or 'filetype' autocommands may
// be triggered that can cause havoc.
*errmsg = did_set_string_option(opt_idx, (char **)varp, oldval, newval,
*errmsg = did_set_string_option(curbuf, curwin, opt_idx, (char **)varp, oldval, newval,
errbuf, errbuflen,
opt_flags, value_checked);