Commits
Ken Cunningham authored and Ken committed 32fb8522fd4
1 + | --- src/mulle-xcode-to-cmake/NSString+ExternalName.m.orig 2017-10-03 16:07:22.000000000 -0700 |
2 + | +++ src/mulle-xcode-to-cmake/NSString+ExternalName.m 2017-10-03 16:08:47.000000000 -0700 |
3 + | |
4 + | // hackish fixes for MulleObjC, should really improve the algorithm |
5 + | // but it's tricky, tricky, tricky |
6 + | |
7 + | - if( [s containsString:@"MulleObjC"]) |
8 + | + if( [s rangeOfString:@"MulleObjC"].length) |
9 + | s = [[s componentsSeparatedByString:@"MulleObjC"] componentsJoinedByString:@"MulleObjc"]; |
10 + | - if( [s containsString:@"BSDFoundation"]) |
11 + | + if( [s rangeOfString:@"BSDFoundation"].length) |
12 + | s = [[s componentsSeparatedByString:@"BSDFoundation"] componentsJoinedByString:@"BsdFoundation"]; |
13 + | - if( [s containsString:@"OSFoundation"]) |
14 + | + if( [s rangeOfString:@"OSFoundation"].length) |
15 + | s = [[s componentsSeparatedByString:@"OSFoundation"] componentsJoinedByString:@"OsFoundation"]; |
16 + | |
17 + | result = [NSMutableString string]; |