mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 10:25:08 +00:00
Monotone-Parent: df10c88af01acc51d8255beacbd9dd83a36f26d8
Monotone-Revision: 341e1374ed8368a3de3e24945489029ce3e3665d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-11T20:10:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -107,23 +107,6 @@
|
||||
return !([self isEqualToString: @"0"]
|
||||
|| [self isEqualToString: @"NO"]);
|
||||
}
|
||||
|
||||
#ifdef LIB_FOUNDATION_LIBRARY
|
||||
- (NSString *) stringByAppendingPathComponent: (NSString *) component
|
||||
{
|
||||
NSMutableArray *components;
|
||||
NSString *newString;
|
||||
|
||||
components = [NSMutableArray new];
|
||||
[components addObjectsFromArray: [self componentsSeparatedByString: @"/"]];
|
||||
[components addObject: component];
|
||||
newString = [components componentsJoinedByString: @"/"];
|
||||
[components release];
|
||||
|
||||
return newString;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user