fixed the number of bytes to move in the memmove() call

This commit is contained in:
William Hubbs 2008-10-09 07:58:58 -05:00
commit 62deb008bc

View file

@ -168,7 +168,7 @@ void main_loop(struct synth_t *s)
if (cp) {
queue_clear();
stop_speech();
memmove(buf, cp+1, strlen(cp + 1));
memmove(buf, cp+1, strlen(cp + 1) + 1);
length = strlen(buf);
}
process_buffer(s, buf, length);