This seems more appropriate

pull/47/head
Ashish Kumar Yadav 3 years ago
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…
Cancel
Save