Browse Source

LookupLetter: Fix ph_buf3 buffer (#2089)

master
Samuel Thibault 5 months ago
parent
commit
d57b907f0e
No account linked to committer's email address
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

@@ -484,7 +484,7 @@ void LookupLetter(Translator *tr, unsigned int letter, int next_byte, char *ph_b
int len;
char single_letter[10] = { 0, 0 };
unsigned int dict_flags[2];
char ph_buf3[40];
char ph_buf3[N_PHONEME_BYTES];

ph_buf1[0] = 0;
len = utf8_out(letter, &single_letter[2]);

Loading…
Cancel
Save