Differences From Artifact [9568261c3b]:
- File src/OFString_UTF8.m — part of check-in [a06354b42a] at 2017-10-22 15:05:39 on branch trunk — Make Apple GCC with -Wshadow happy (user: js, size: 30476) [annotate] [blame] [check-ins using]
To Artifact [c30817026a]:
- File
src/OFString_UTF8.m
— part of check-in
[b83d1414b1]
at
2017-10-29 00:41:52
on branch trunk
— Fix conversion between URL and path on Win32
This also adds -[OFURL fileSystemRepresentation] to correctly convert a
URL back to a path in the local file system. (user: js, size: 30176) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1165 1166 1167 1168 1169 1170 1171 | if (OF_IS_PATH_DELIMITER(_s->cString[i])) { [ret addObject: [OFString stringWithUTF8String: _s->cString + last length: i - last]]; last = i + 1; } } | < < < < < < < < < < < < | 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 | if (OF_IS_PATH_DELIMITER(_s->cString[i])) { [ret addObject: [OFString stringWithUTF8String: _s->cString + last length: i - last]]; last = i + 1; } } [ret addObject: [OFString stringWithUTF8String: _s->cString + last length: i - last]]; [ret makeImmutable]; objc_autoreleasePoolPop(pool); return ret; } |
︙ | ︙ |