HaikuDepot: Fix -Wlogical-not-parentheses
This commit is contained in:
committed by
Adrien Destugues
parent
a6e2839785
commit
d41bd688b3
@@ -151,7 +151,7 @@ void
|
|||||||
App::_Open(const BEntry& entry)
|
App::_Open(const BEntry& entry)
|
||||||
{
|
{
|
||||||
BPath path;
|
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());
|
fprintf(stderr, "Package file not found: %s\n", path.Path());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user