OS X: Fix Finder plugin

This commit is contained in:
Markus Goetz 2014-08-28 10:21:37 +02:00
parent 59a9cc7c12
commit d69049ce10

View file

@ -109,7 +109,7 @@ static ContentManager* sharedInstance = nil;
NSString* normalizedPath = [path decomposedStringWithCanonicalMapping];
if (![_fileNamesCache objectForKey:normalizedPath] || ![[_fileNamesCache objectForKey:normalizedPath] isEqualToString:res]) {
if (![_fileNamesCache objectForKey:normalizedPath] || ![[_fileNamesCache objectForKey:normalizedPath] isEqualTo:res]) {
[_fileNamesCache setObject:res forKey:normalizedPath];
// NSLog(@"SET value %d", [res intValue]);
_hasChangedContent = YES;