Fix:Core:Typo
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sat, 29 May 2010 02:27:40 +0000 (02:27 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sat, 29 May 2010 02:27:40 +0000 (02:27 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3314 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/navit.c

index 686100d..6081a9a 100644 (file)
@@ -1144,7 +1144,7 @@ navit_init(struct navit *this_)
                navit_destroy(this_);
                return;
        }
-       if (!this_->gra && (!this_->flags & 1)) {
+       if (!this_->gra && !(this_->flags & 1)) {
                dbg(0,"no graphics\n");
                navit_destroy(this_);
                return;