simplify the ignored path matching

This commit is contained in:
Antoine Mercadal
2011-11-13 23:34:49 +01:00
parent 820531342d
commit 7a1b273d8d
2 changed files with 8 additions and 15 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
NSString *path = [[(NSArray *)eventPaths objectAtIndex:i] stringByStandardizingPath];
if (useFileBasedListening)
{
{
if (flags & kFSEventStreamEventFlagItemIsFile &&
flags & kFSEventStreamEventFlagItemRemoved)
{