diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-24 08:38:56 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-24 09:27:38 +0100 |
commit | ccfa92ba2a45865b070b2dcd3b0664205f3a5d59 (patch) | |
tree | 16a5981b01b548780c239463cf1880e291653780 | |
parent | 2abbe7017fcc835c06edcc20ab4647edadb43035 (diff) | |
download | tdv-ccfa92ba2a45865b070b2dcd3b0664205f3a5d59.tar.gz tdv-ccfa92ba2a45865b070b2dcd3b0664205f3a5d59.tar.xz tdv-ccfa92ba2a45865b070b2dcd3b0664205f3a5d59.zip |
Fix reporting of unknown .ifo keys
-rw-r--r-- | src/stardict.c | 3 |
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; } |