This is unnecessary since the string is already null terminated in the V_LANGUAGE switch case. sscanf creates a null terminated string in language_name, which is then copied to voice_language by strcpy (keeping the \0).master
| @@ -959,8 +959,6 @@ voice_t *LoadVoice(const char *vname, int control) | |||
| return NULL; // no dictionary loaded | |||
| } | |||
| } | |||
| voice_languages[langix] = 0; | |||
| } | |||
| return voice; | |||