Skip to content

Commit

Permalink
fix:style:Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoan committed Jan 16, 2020
1 parent d1fa7a5 commit 643b6cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion navit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ 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("THIS_IS_THE_NAVIT_WORKING_DIR")) {
if (file_exists("navit.c") || file_exists("navit.o") || file_exists("navit.lo")
|| file_exists("THIS_IS_THE_NAVIT_WORKING_DIR")) {
char buffer[PATH_MAX];
printf("%s",_("Running from source directory\n"));
if(getcwd(buffer, PATH_MAX)==NULL) { /*libc of navit returns "dummy" */
Expand Down

0 comments on commit 643b6cc

Please sign in to comment.