HaikuDepot: Fix -Wlogical-not-parentheses

This commit is contained in:
Murai Takashi 2016-07-28 05:17:35 +09:00 committed by Adrien Destugues
parent a6e2839785
commit d41bd688b3

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;
}