diff options
author | jkoan <jkoan@users.noreply.github.com> | 2019-06-21 21:20:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 21:20:10 +0200 |
commit | 3fb40bdb1e899fe8cfd6aa97fa531c018019844b (patch) | |
tree | fc2eeda6e30c398016b6b81cfd37c0eb8a4912b5 | |
parent | bef0ef8da4ace12d4afc1f72690da2030fad8c77 (diff) | |
download | navit-fox_710_version_h.tar.gz |
fix:core:Fix run when in build dirfox_710_version_h
-rw-r--r-- | navit/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/main.c b/navit/main.c index 986947f0d..76b1056b1 100644 --- a/navit/main.c +++ b/navit/main.c @@ -350,7 +350,7 @@ void main_init(const char *program) { setlocale(LC_NUMERIC,"C"); #endif #if !defined _WIN32 && !defined _WIN32_WCE - if (file_exists("navit.c") || file_exists("navit.o") || file_exists("navit.lo") || file_exists("version.h")) { + if (file_exists("navit.c") || file_exists("navit.o") || file_exists("navit.lo")) { char buffer[PATH_MAX]; printf("%s",_("Running from source directory\n")); getcwd(buffer, PATH_MAX); /* libc of navit returns "dummy" */ |