diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-07 18:28:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 18:28:34 -0500 |
commit | 02a3c417945e7b7fc781906a78acbf88bd44c971 (patch) | |
tree | 16f255fcf66a50ceea661e08cbea7ce965c46e7c /src/nvim/quickfix.c | |
parent | a7d9df996dc1c353574845563216dc0372dd8b77 (diff) | |
parent | d34846af7455b8411476700920cdb64f121bae69 (diff) | |
download | rneovim-02a3c417945e7b7fc781906a78acbf88bd44c971.tar.gz rneovim-02a3c417945e7b7fc781906a78acbf88bd44c971.tar.bz2 rneovim-02a3c417945e7b7fc781906a78acbf88bd44c971.zip |
Merge pull request #13898 from janlazo/set_string_option_direct
Refactor option,var functions to use char for param type
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index e074f73d04..dfd38a6eca 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -3665,7 +3665,7 @@ static int qf_open_new_cwindow(qf_info_T *qi, int height) static void qf_set_title_var(qf_list_T *qfl) { if (qfl->qf_title != NULL) { - set_internal_string_var((char_u *)"w:quickfix_title", qfl->qf_title); + set_internal_string_var("w:quickfix_title", qfl->qf_title); } } @@ -4951,7 +4951,7 @@ void ex_cfile(exarg_T *eap) } } if (*eap->arg != NUL) { - set_string_option_direct((char_u *)"ef", -1, eap->arg, OPT_FREE, 0); + set_string_option_direct("ef", -1, eap->arg, OPT_FREE, 0); } char_u *enc = (*curbuf->b_p_menc != NUL) ? curbuf->b_p_menc : p_menc; |