Tracker: add back parens

This commit is contained in:
John Scipione
2014-06-21 03:54:35 -04:00
parent 64fda603ef
commit 512c80ef1c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ SpringLoadedFolderCompareMessages(const BMessage* incoming,
BPoint dragPoint;
if (incoming->FindPoint("click_pt", &incomingPoint) == B_OK
&& dragMessage->FindPoint("click_pt", &dragPoint) == B_OK) {
refsMatch = incomingPoint == dragPoint;
refsMatch = (incomingPoint == dragPoint);
}
}
+2 -2
View File
@@ -668,7 +668,7 @@ OpenWithPoseView::InitDirentIterator(const entry_ref*)
return NULL;
}
SetRefFilter(new OpenWithRefFilter(fIterator, entryList,
fHaveCommonPreferredApp ? &fPreferredRef : 0));
(fHaveCommonPreferredApp ? &fPreferredRef : 0)));
return fIterator;
}
@@ -1112,7 +1112,7 @@ OpenWithMenu::AddNextItem()
Model* model = new Model(&entry, true);
if (model->InitCheck() != B_OK
|| !fIterator->CanOpenWithFilter(model, &fEntriesToOpen,
fHaveCommonPreferredApp ? &fPreferredRef : 0)) {
(fHaveCommonPreferredApp ? &fPreferredRef : 0))) {
// only allow executables, filter out multiple copies of the Tracker,
// filter out version that don't list the correct types, etc.
delete model;