This website works better with JavaScript.
Home
Explore
Sign In
mahta.fetrat
/
HomoFast-eSpeak-Persian
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
TranslateRoman: avoid overflow
master
Samuel Thibault
4 months ago
parent
8941b0ef14
commit
3a04c042e6
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/libespeak-ng/numbers.c
+ 1
- 1
src/libespeak-ng/numbers.c
View File
@@ -790,7 +790,7 @@ int TranslateRoman(Translator *tr, char *word, char *ph_out, char *ph_out_end, W
}
word_start = word;
while ((c = *word++) != ' ') {
while ((c = *word++) != ' '
&& c
) {
if ((p2 = strchr(roman_numbers, c)) == NULL)
return 0;
Write
Preview
Loading…
Cancel
Save