1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

render: delim

This commit is contained in:
tg(x) 2011-04-25 22:57:08 +02:00
parent d71313dd14
commit 0226b1bba7

View file

@ -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;