From d41bd688b35569ecfd0e106d9a2ce3741834ea0b Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Thu, 28 Jul 2016 05:17:35 +0900 Subject: [PATCH] HaikuDepot: Fix -Wlogical-not-parentheses --- src/apps/haikudepot/ui/App.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/haikudepot/ui/App.cpp b/src/apps/haikudepot/ui/App.cpp index 6e22734d8c..93758ca998 100644 --- a/src/apps/haikudepot/ui/App.cpp +++ b/src/apps/haikudepot/ui/App.cpp @@ -151,7 +151,7 @@ void App::_Open(const BEntry& entry) { BPath path; - if (!entry.Exists() || !entry.GetPath(&path) == B_OK) { + if (!entry.Exists() || entry.GetPath(&path) != B_OK) { fprintf(stderr, "Package file not found: %s\n", path.Path()); return; }