mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
Return a copy instead of the array itself.
This commit is contained in:
1 parent
f9da7f73b3
commit
359a29874b
1 file changed
+2
-1
+2
-1
@@ -96,7 +96,8 @@ CPURLCustomIconKey = @"CPURLCustomIconKey";
|
||||
|
||||
- (CPArray)pathComponents
|
||||
{
|
||||
return self.pathComponents();
|
||||
var path = self.pathComponents();
|
||||
return [path copy];
|
||||
}
|
||||
|
||||
// if absolute, returns the same as path
|
||||
|
||||
Reference in new issue
Block a user