mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
Merge pull request #15 from sthibaul/pause
pass '\n' to espeak too for e.g. proper pause
This commit is contained in:
commit
1c3285d249
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ static void process_buffer(struct synth_t *s, char *buf, ssize_t length)
|
||||||
start = 0;
|
start = 0;
|
||||||
end = 0;
|
end = 0;
|
||||||
while (start < length) {
|
while (start < length) {
|
||||||
while ((buf[end] < 0 || buf[end] >= ' ') && end < length)
|
while ((buf[end] < 0 || buf[end] >= ' ' || buf[end] == '\n') && end < length)
|
||||||
end++;
|
end++;
|
||||||
if (end != start) {
|
if (end != start) {
|
||||||
txtLen = end - start;
|
txtLen = end - start;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue