Browse Source

Fix dropping last byte of stdin input (#2098)

master
Samuel Thibault 5 months ago
parent
commit
eed83cd937
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/espeak-ng.c

+ 2
- 2
src/espeak-ng.c View File

@@ -762,8 +762,8 @@ int main(int argc, char **argv)
}
}
if (ix > 0) {
p_text[ix-1] = 0;
espeak_Synth(p_text, ix+1, 0, POS_CHARACTER, 0, synth_flags, NULL, NULL);
p_text[ix] = 0;
espeak_Synth(p_text, ix, 0, POS_CHARACTER, 0, synth_flags, NULL, NULL);
}
}


Loading…
Cancel
Save