mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
refactor: replace char_u variables and functions with char (#18288)
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -568,7 +568,7 @@ void nvim_set_current_dir(String dir, Error *err)
|
||||
|
||||
try_start();
|
||||
|
||||
if (!changedir_func(string, kCdScopeGlobal)) {
|
||||
if (!changedir_func((char *)string, kCdScopeGlobal)) {
|
||||
if (!try_end(err)) {
|
||||
api_set_error(err, kErrorTypeException, "Failed to change directory");
|
||||
}
|
||||
|
Reference in New Issue
Block a user