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

@@ -796,8 +796,7 @@ static int NextItem(int type)

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

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

if (type == tSTRING)

Loading…
Cancel
Save