mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
changed process_buffer to use the isprint() call.
This commit is contained in:
parent
1b608481a4
commit
6bec55ca57
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ static void process_buffer(struct synth_t *s, char *buf, ssize_t length)
|
|||
start = 0;
|
||||
end = 0;
|
||||
while (start < length) {
|
||||
while (buf[end] >= 32 && end < length)
|
||||
while (isprint(buf[end]) && end < length)
|
||||
end++;
|
||||
if (end != start) {
|
||||
txtLen = end - start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue