mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
Use string instead of [url path]
This commit is contained in:
parent
78877846e5
commit
9ddd7b3ae6
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue