mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-22 15:44:17 +02:00
fixed the length calculation when a flush is processed.
This commit is contained in:
parent
62deb008bc
commit
66cb5a7b5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
length = strlen(buf) + 1;
|
||||
}
|
||||
process_buffer(s, buf, length);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue