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
return NULL; // no dictionary loaded | return NULL; // no dictionary loaded | ||||
} | } | ||||
} | } | ||||
voice_languages[langix] = 0; | |||||
} | } | ||||
return voice; | return voice; |