This is a similar change to b60d2452c3
.
In this case, it is when tr->dictionary_name is passed as the name
parameter in LoadDictionary.
This happens in the SetTranslator2 function when loading the
dictionary for the second language translator object.
master
if (dictionary_name != name) | if (dictionary_name != name) | ||||
strncpy(dictionary_name, name, 40); // currently loaded dictionary name | strncpy(dictionary_name, name, 40); // currently loaded dictionary name | ||||
strncpy(tr->dictionary_name, name, 40); | |||||
if (tr->dictionary_name != name) | |||||
strncpy(tr->dictionary_name, name, 40); | |||||
// Load a pronunciation data file into memory | // Load a pronunciation data file into memory | ||||
// bytes 0-3: offset to rules data | // bytes 0-3: offset to rules data |