code cleanup: change global int current_phoneme table to static

It's only used in SpeakNextClause() and related to SelectPhonemeTable().

Another solution void be to keep SelectPhonemeTable() as a void function
and do a current_phoneme_table = voice->phoneme_tab_ix after the call to
SelectPhonemeTable().
This commit is contained in:
Juho Hiltunen
2020-07-21 12:39:51 +03:00
parent 992745508e
commit c0ff3696b9
4 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ frameref_t *LookupSpect(PHONEME_TAB *this_ph,
int NumInstnWords(unsigned short *prog);
int PhonemeCode(unsigned int mnem);
void SelectPhonemeTable(int number);
int SelectPhonemeTable(int number);
int SelectPhonemeTableName(const char *name);
#ifdef __cplusplus