From 887af1075b27910a4fe1ed2c403160e6e3fa16a5 Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Thu, 28 Jul 2016 05:17:35 +0900
Subject: [PATCH 25/27] 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 6e22734..93758ca 100644
a
|
b
|
void
|
151 | 151 | App::_Open(const BEntry& entry) |
152 | 152 | { |
153 | 153 | BPath path; |
154 | | if (!entry.Exists() || !entry.GetPath(&path) == B_OK) { |
| 154 | if (!entry.Exists() || entry.GetPath(&path) != B_OK) { |
155 | 155 | fprintf(stderr, "Package file not found: %s\n", path.Path()); |
156 | 156 | return; |
157 | 157 | } |