Browse Source

Fixing ungetc bad behavior under macOS Catalina by avoiding to ungetc a different char from the last getc

master
BenTalagan 5 years ago
parent
commit
3e0150a34f
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/libespeak-ng/compiledata.c

+ 1
- 2
src/libespeak-ng/compiledata.c View File



if ((c == ')') || (c == ',')) if ((c == ')') || (c == ','))
c = ' '; c = ' ';

if (!feof(f_in))
else if (!feof(f_in))
unget_char(c); unget_char(c);


if (type == tSTRING) if (type == tSTRING)

Loading…
Cancel
Save