Browse Source

Increase buffer size for thousands processing

E.g. yue does not have many thousands separators, so the value may be very
large, possibly as much as maxint.
master
Samuel Thibault 2 years ago
parent
commit
8789e1e8e1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/numbers.c

+ 1
- 1
src/libespeak-ng/numbers.c View File

@@ -1185,7 +1185,7 @@ static int LookupThousands(Translator *tr, int value, int thousandplex, int thou
// thousands_exact: bit 0 no hundreds,tens,or units, bit 1 ordinal numberr
int found;
int found_value = 0;
char string[12];
char string[14];
char ph_of[12];
char ph_thousands[40];
char ph_buf[40];

Loading…
Cancel
Save