From 2e4613aecc712eb5e893d341da5f571f932376d5 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 29 Apr 2014 21:56:49 +0200 Subject: Remove NUL macro --- src/os/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/fs.c') diff --git a/src/os/fs.c b/src/os/fs.c index f9b02375e1..461913433f 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 == NUL) { + if (path == NULL || *path == '\0') { return false; } -- cgit