This seems more appropriate
This commit is contained in:
parent
9240ce3fac
commit
ea40011a5f
|
@ -261,10 +261,7 @@ updatestatus()
|
||||||
memcpy(s, block->curtext, block->length);
|
memcpy(s, block->curtext, block->length);
|
||||||
s += block->length;
|
s += block->length;
|
||||||
}
|
}
|
||||||
if (s != statustext)
|
s[s == statustext ? 0 : -DELIMITERLENGTH] = '\0';
|
||||||
*(s - DELIMITERLENGTH) = '\0';
|
|
||||||
else
|
|
||||||
*s = '\0';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue