Accidentally broke CPString method, this fixes it.

This commit is contained in:
Ross Boucher committed 2008-09-11 00:14:04 -07:00
1 parent 8c237c5f8e
commit 43cc45b1f9
1 file changed
+1 -1
+1 -1
View File
@@ -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