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:
Gabor Adam Toth 2011-04-25 22:57:08 +02:00
parent 156b57c2e9
commit 4ceb768639

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;