aboutsummaryrefslogtreecommitdiff
path: root/src/os/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/fs.c')
-rw-r--r--src/os/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/fs.c b/src/os/fs.c
index 461913433f..f9b02375e1 100644
--- a/src/os/fs.c
+++ b/src/os/fs.c
@@ -84,7 +84,7 @@ static bool is_executable_in_path(const char_u *name)
{
const char *path = getenv("PATH");
// PATH environment variable does not exist or is empty.
- if (path == NULL || *path == '\0') {
+ if (path == NULL || *path == NUL) {
return false;
}