Browse Source

Merge remote-tracking branch 'rhdunn/master'

master
Reece H. Dunn 7 years ago
parent
commit
3caa3bbae2
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/libespeak-ng/compiledata.c
  2. 1
    1
      src/libespeak-ng/dictionary.c

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

@@ -499,7 +499,7 @@ static void CompileReport(void)
int procedure_num;
int prev_mnemonic;

if (f_report == NULL)
if (f_report == NULL || count_references == 0)
return;

// make a list of all the references and sort it

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

@@ -2822,7 +2822,7 @@ static const char *LookupDict2(Translator *tr, const char *word, const char *wor
}

ix = utf8_in(&c, word);
if ((word[ix] == 0) && !IsAlpha(c))
if (flags != NULL && (word[ix] == 0) && !IsAlpha(c))
flags[0] |= FLAG_MAX3;
return word_end;


Loading…
Cancel
Save