Cube  Diff

Differences From Artifact [195e0442e7]:

To Artifact [26cbbdcb4f]:


43
44
45
46
47
48
49
50

51

52
53
54
55
56
57
58
}

void
sendstring(OFString *t_, uchar *&p)
{
	@autoreleasepool {
		const char *t = t_.UTF8String;
		while (*t)

			putint(p, *t++);

		putint(p, 0);
	}
}

static const OFString *modenames[] = {
	@"SP",
	@"DMSP",







|
>

>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
}

void
sendstring(OFString *t_, uchar *&p)
{
	@autoreleasepool {
		const char *t = t_.UTF8String;

		for (size_t i = 0; i < _MAXDEFSTR && *t != '\0'; i++)
			putint(p, *t++);

		putint(p, 0);
	}
}

static const OFString *modenames[] = {
	@"SP",
	@"DMSP",