mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
spelling fixes #827
This commit is contained in:

committed by
Justin M. Keyes

parent
168575f3f7
commit
5b3b3fd3ed
@@ -1905,12 +1905,12 @@ int path_full_dir_name(char *directory, char *buffer, int len)
|
||||
}
|
||||
|
||||
if (os_chdir(directory) != SUCCESS) {
|
||||
// Do not return immediatly since we may be in the wrong directory.
|
||||
// Do not return immediately since we may be in the wrong directory.
|
||||
retval = FAIL;
|
||||
}
|
||||
|
||||
if (retval == FAIL || os_dirname((char_u *) buffer, len) == FAIL) {
|
||||
// Do not return immediatly since we are in the wrong directory.
|
||||
// Do not return immediately since we are in the wrong directory.
|
||||
retval = FAIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user