Fix reporting of unknown .ifo keys
This commit is contained in:
parent
2abbe7017f
commit
ccfa92ba2a
@ -244,8 +244,7 @@ load_ifo (StardictInfo *sti, const gchar *path, GError **error)
|
|||||||
|
|
||||||
if (i == _stardict_ifo_keys_length)
|
if (i == _stardict_ifo_keys_length)
|
||||||
{
|
{
|
||||||
g_set_error (error, STARDICT_ERROR, STARDICT_ERROR_INVALID_DATA,
|
g_info ("%s: %s: %s", path, _("unknown key, ignoring"), ir.key);
|
||||||
"%s: %s: %s", path, _("unknown key, ignoring"), ir.key);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user