Convert language ids to lower case

master
Yevgen Muntyan 2006-08-26 05:01:22 -05:00
parent 6589d94f89
commit ee935c3a0b
1 changed files with 2 additions and 2 deletions

View File

@ -383,11 +383,11 @@ process_language_node (xmlTextReaderPtr reader, const gchar *filename)
tmp = xmlTextReaderGetAttribute (reader, BAD_CAST "id");
if (tmp != NULL)
{
lang->priv->id = g_strdup ((gchar*) tmp);
lang->priv->id = g_ascii_strdown ((gchar*) tmp, -1);
}
else
{
lang->priv->id = g_strdup ((gchar*) untranslated_name);
lang->priv->id = g_ascii_strdown ((gchar*) untranslated_name, -1);
}
xmlFree (tmp);
xmlFree (untranslated_name);