ObjFW  Diff

Differences From Artifact [9a593a3045]:

To Artifact [882172ee7f]:


51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
}

- (int)compareTo: (OFString*)str
{
	return wcscmp(string, [str wcString]);
}

- (OFString*)append: (OFString*)str
{
	return [self appendWideCString: [str wcString]];
}

- (OFString*)appendWideCString: (const wchar_t*)str
{
	wchar_t	*newstr;
	size_t	newlen, strlength;

	if (string == NULL) 
		return [self setTo: [OFString
					newAsWideCString: (wchar_t*)str]];







|




|







51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
}

- (int)compareTo: (OFString*)str
{
	return wcscmp(string, [str wcString]);
}

- append: (OFString*)str
{
	return [self appendWideCString: [str wcString]];
}

- appendWideCString: (const wchar_t*)str
{
	wchar_t	*newstr;
	size_t	newlen, strlength;

	if (string == NULL) 
		return [self setTo: [OFString
					newAsWideCString: (wchar_t*)str]];