Cube  Diff

Differences From Artifact [2969d1193c]:

To Artifact [de4b6af5c1]:


28
29
30
31
32
33
34

35
36



37
38

39
40
41
42
43
44
45
28
29
30
31
32
33
34
35


36
37
38


39
40
41
42
43
44
45
46







+
-
-
+
+
+
-
-
+







}
COMMANDN(conskip, setconskip, ARG_1INT)

static void
conline(OFString *sf, bool highlight) // add a line to the console buffer
{
	cline cl;
	// constrain the buffer size
	cl.cref = conlines.length() > 100
	              ? conlines.pop().cref
	cl.cref = conlines.length() > 100 ? conlines.pop().cref
	                                  : (char *)calloc(_MAXDEFSTR, 1);
	// for how long to keep line on screen
	              : newstringbuf(""); // constrain the buffer size
	cl.outtime = lastmillis;          // for how long to keep line on screen
	cl.outtime = lastmillis;
	conlines.insert(0, cl);
	if (highlight) // show line in a different colour, for chat etc.
	{
		cl.cref[0] = '\f';
		cl.cref[1] = 0;
		strcat_s(cl.cref, sf.UTF8String);
	} else {