Differences From Artifact [0504ce8d16]:
- File src/OFWideString.m — part of check-in [1df0de873b] at 2008-09-14 20:30:20 on branch trunk — Same again. (user: js, size: 1816) [annotate] [blame] [check-ins using]
To Artifact [1b2ac19bc0]:
- File src/OFWideString.m — part of check-in [24ce530f56] at 2008-09-15 10:23:39 on branch trunk — Add compare: for strings. (user: js, size: 1897) [annotate] [blame] [check-ins using]
︙ | |||
100 101 102 103 104 105 106 107 | 100 101 102 103 104 105 106 107 108 109 110 111 112 | + + + + + | memcpy(newstr + length, wstr, (strlength + 1) * sizeof(wchar_t)); length = newlen; wstring = newstr; return self; } - (int)compare: (OFWideString*)str { return wcscmp(wstring, [str wcString]); } @end |