aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 4ada2e7f5b..cbddde3434 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -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;
}