Browse Source

Add missing check for EOF

master
Samuel Thibault 2 years ago
parent
commit
482ee1da05
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/libespeak-ng/readclause.c

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

@@ -680,7 +680,8 @@ int ReadClause(Translator *tr, char *buf, short *charix, int *charix_top, int n_
option_punctuation = 2;
}
}
c2 = GetC();
if (!Eof())
c2 = GetC();
continue;
}
}

Loading…
Cancel
Save