diff options
Diffstat (limited to 'filter/filter-rule.c')
-rw-r--r-- | filter/filter-rule.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/filter/filter-rule.c b/filter/filter-rule.c index e6e59baeac..c7e79269e6 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -444,12 +444,13 @@ xml_decode (FilterRule *fr, xmlNodePtr node, RuleContext *f) load_set (work, fr, f); } else if (!strcmp ((char *)work->name, "title") || !strcmp ((char *)work->name, "_title")) { if (!fr->name) { - char *str, *decstr; + char *str, *decstr = NULL; str = (char *)xmlNodeGetContent (work); - decstr = g_strdup (str); - if (str) + if (str) { + decstr = g_strdup (_(str)); xmlFree (str); + } fr->name = decstr; } } |