diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-22 09:14:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 09:14:42 +0800 |
commit | dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b (patch) | |
tree | a534155ed127b0c6b4f22ea86150c4e0c045d62a /src/nvim/quickfix.c | |
parent | 15c6909bb198ca8a1a22405a4a7e96357716e57e (diff) | |
parent | 58cc66ee1f066127c33157b91c64d9b125a96621 (diff) | |
download | rneovim-dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b.tar.gz rneovim-dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b.tar.bz2 rneovim-dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b.zip |
Merge pull request #26970 from famiu/refactor/options/set_option_direct
refactor(options): remove `set_string_option_direct()`
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 0f639bf86a..9f431556e8 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -5154,7 +5154,7 @@ void ex_cfile(exarg_T *eap) } } if (*eap->arg != NUL) { - set_string_option_direct(kOptErrorfile, eap->arg, 0, 0); + set_option_direct(kOptErrorfile, CSTR_AS_OPTVAL(eap->arg), 0, 0); } char *enc = (*curbuf->b_p_menc != NUL) ? curbuf->b_p_menc : p_menc; |