mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
render: delim
This commit is contained in:
parent
156b57c2e9
commit
4ceb768639
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ PSYC_RenderRC PSYC_render(PSYC_Packet *packet, char *buffer, size_t buflen)
|
||||||
buffer[cur++] = '\n';
|
buffer[cur++] = '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy(buffer + cur, PSYC_PACKET_DELIMITER + 1, 2);
|
buffer[cur++] = C_GLYPH_PACKET_DELIMITER;
|
||||||
cur += 2;
|
buffer[cur++] = '\n';
|
||||||
|
|
||||||
assert(cur == packet->length);
|
assert(cur == packet->length);
|
||||||
return PSYC_RENDER_SUCCESS;
|
return PSYC_RENDER_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue