HaikuDepot: Fix -Wlogical-not-parentheses

This commit is contained in:
Murai Takashi
2016-08-21 16:53:35 +02:00
committed by Adrien Destugues
parent a6e2839785
commit d41bd688b3
+1 -1
View File
@@ -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;
}