aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-24 08:38:56 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-24 09:27:38 +0100
commitccfa92ba2a45865b070b2dcd3b0664205f3a5d59 (patch)
tree16a5981b01b548780c239463cf1880e291653780
parent2abbe7017fcc835c06edcc20ab4647edadb43035 (diff)
downloadtdv-ccfa92ba2a45865b070b2dcd3b0664205f3a5d59.tar.gz
tdv-ccfa92ba2a45865b070b2dcd3b0664205f3a5d59.tar.xz
tdv-ccfa92ba2a45865b070b2dcd3b0664205f3a5d59.zip
Fix reporting of unknown .ifo keys
-rw-r--r--src/stardict.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stardict.c b/src/stardict.c
index b7f09ab..00659e4 100644
--- a/src/stardict.c
+++ b/src/stardict.c
@@ -244,8 +244,7 @@ load_ifo (StardictInfo *sti, const gchar *path, GError **error)
if (i == _stardict_ifo_keys_length)
{
- g_set_error (error, STARDICT_ERROR, STARDICT_ERROR_INVALID_DATA,
- "%s: %s: %s", path, _("unknown key, ignoring"), ir.key);
+ g_info ("%s: %s: %s", path, _("unknown key, ignoring"), ir.key);
continue;
}