TextSearch: fix build

This commit is contained in:
Philippe Houdoin 2017-11-07 14:42:48 +01:00
parent ce04a43add
commit 77b2cdba88

View File

@ -814,10 +814,10 @@ GrepWindow::_OnNodeMonitorEvent(BMessage* message)
: "B_ENTRY_REMOVED");
BString path;
if (message->FindString("path", &path) == B_OK) {
if (opCode == B_ENTRY_CREATED)
if (opCode == B_ENTRY_CREATED) {
if (fChangesIterator)
fChangesIterator->EntryAdded(path.String());
else {
} else {
// in order to remove temporary files
if (fChangesIterator)
fChangesIterator->EntryRemoved(path.String());