mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
fixed the number of bytes to move in the memmove() call
This commit is contained in:
parent
14858818d3
commit
62deb008bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue