From ccfa92ba2a45865b070b2dcd3b0664205f3a5d59 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 24 Feb 2015 08:38:56 +0100 Subject: Fix reporting of unknown .ifo keys --- src/stardict.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2