aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/file_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r--src/nvim/file_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c
index a8b0dbddee..51bea3111c 100644
--- a/src/nvim/file_search.c
+++ b/src/nvim/file_search.c
@@ -510,7 +510,7 @@ char *vim_findfile_stopdir(char *buf)
while (*r_ptr != NUL && *r_ptr != ';') {
if (r_ptr[0] == '\\' && r_ptr[1] == ';') {
// Overwrite the escape char,
- // use strlen(r_ptr) to move the trailing '\0'.
+ // use strlen(r_ptr) to move the trailing NUL.
STRMOVE(r_ptr, r_ptr + 1);
r_ptr++;
}