From d7e8dc2b342b5a810ec561535ca0426969f519ea Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 9 Oct 2008 09:05:56 -0500 Subject: [PATCH] Revert "fixed the length calculation when a flush is processed." This reverts commit 66cb5a7b5cfe0e569525935d03b0843ee85a8afc. --- softsynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }