Differences From Artifact [17c27fdf19]:
- File src/OFString_UTF8.m — part of check-in [7694d37135] at 2013-01-16 14:27:07 on branch trunk — OFString: Add -[getCString:maxLength:encoding:]. (user: js, size: 30924) [annotate] [blame] [check-ins using]
To Artifact [0615761918]:
- File src/OFString_UTF8.m — part of check-in [ea4a43461c] at 2013-01-23 21:52:54 on branch trunk — Never compare to @"", use length instead. (user: js, size: 30918) [annotate] [blame] [check-ins using]
︙ | |||
1163 1164 1165 1166 1167 1168 1169 | 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 | - + - + | for (i = 0, last = 0; i <= s->cStringLength - cStringLength; i++) { if (memcmp(s->cString + i, cString, cStringLength)) continue; component = [OFString stringWithUTF8String: s->cString + last length: i - last]; |
︙ |