Tracker: add back parens
This commit is contained in:
@@ -120,7 +120,7 @@ SpringLoadedFolderCompareMessages(const BMessage* incoming,
|
|||||||
BPoint dragPoint;
|
BPoint dragPoint;
|
||||||
if (incoming->FindPoint("click_pt", &incomingPoint) == B_OK
|
if (incoming->FindPoint("click_pt", &incomingPoint) == B_OK
|
||||||
&& dragMessage->FindPoint("click_pt", &dragPoint) == B_OK) {
|
&& dragMessage->FindPoint("click_pt", &dragPoint) == B_OK) {
|
||||||
refsMatch = incomingPoint == dragPoint;
|
refsMatch = (incomingPoint == dragPoint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ OpenWithPoseView::InitDirentIterator(const entry_ref*)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
SetRefFilter(new OpenWithRefFilter(fIterator, entryList,
|
SetRefFilter(new OpenWithRefFilter(fIterator, entryList,
|
||||||
fHaveCommonPreferredApp ? &fPreferredRef : 0));
|
(fHaveCommonPreferredApp ? &fPreferredRef : 0)));
|
||||||
|
|
||||||
return fIterator;
|
return fIterator;
|
||||||
}
|
}
|
||||||
@@ -1112,7 +1112,7 @@ OpenWithMenu::AddNextItem()
|
|||||||
Model* model = new Model(&entry, true);
|
Model* model = new Model(&entry, true);
|
||||||
if (model->InitCheck() != B_OK
|
if (model->InitCheck() != B_OK
|
||||||
|| !fIterator->CanOpenWithFilter(model, &fEntriesToOpen,
|
|| !fIterator->CanOpenWithFilter(model, &fEntriesToOpen,
|
||||||
fHaveCommonPreferredApp ? &fPreferredRef : 0)) {
|
(fHaveCommonPreferredApp ? &fPreferredRef : 0))) {
|
||||||
// only allow executables, filter out multiple copies of the Tracker,
|
// only allow executables, filter out multiple copies of the Tracker,
|
||||||
// filter out version that don't list the correct types, etc.
|
// filter out version that don't list the correct types, etc.
|
||||||
delete model;
|
delete model;
|
||||||
|
|||||||
Reference in New Issue
Block a user