mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-25 07:55:52 +00:00
Accidentally broke CPString method, this fixes it.
This commit is contained in:
1 parent
8c237c5f8e
commit
43cc45b1f9
1 file changed
+1
-1
@@ -456,7 +456,7 @@ CPNumericSearch
|
||||
- (CPString)stringByDeletingLastPathComponent
|
||||
{
|
||||
// FIMXE: this is wrong: a/a/ returns a/a/.
|
||||
return substr(0, lastIndexOf('/'));
|
||||
return substr(0, lastIndexOf('/')+1);
|
||||
}
|
||||
|
||||
- (CPString)stringByStandardizingPath
|
||||
|
||||
Reference in new issue
Block a user