diff --git a/softsynth.c b/softsynth.c index e8fb7c5..bfa9969 100644 --- a/softsynth.c +++ b/softsynth.c @@ -169,7 +169,7 @@ void main_loop(struct synth_t *s) queue_clear(); stop_speech(); memmove(buf, cp+1, strlen(cp + 1) + 1); - length = strlen(buf) + 1; + length = strlen(buf); } process_buffer(s, buf, length); }