Use string instead of [url path]

This commit is contained in:
Gregory John Casamento 2020-05-06 23:42:49 -04:00
parent 78877846e5
commit 9ddd7b3ae6

View file

@ -295,10 +295,10 @@ static Class pathComponentCellClass;
NSString *string = [u path];
[cell setURL: u];
[fm fileExistsAtPath: [url path]
[fm fileExistsAtPath: string
isDirectory: &isDir];
if ([[u path] isEqualToString: @"/"])
if ([string isEqualToString: @"/"])
{
at_root = YES;
}