Use appropriate array for searching
[claws.git] / src / plugins / rssyl / strutils.c
index b2c27149abf423ea2718341ed7cf90ff0c1e7b1c..fe8f148c82c153c9a09a2296cc0d4129c3c341a6 100644 (file)
@@ -239,7 +239,7 @@ gchar *rssyl_replace_html_stuff(gchar *text,
        /* TODO: rewrite this part to work similarly to rssyl_replace_chrefs() */
        if( tags ) {
                for( i = 0; tag_list[i].key != NULL; i++ ) {
-                       if( g_strstr_len(text, strlen(text), symbol_list[i].key) ) {
+                       if( g_strstr_len(text, strlen(text), tag_list[i].key) ) {
                                tmp = rssyl_strreplace(wtext, tag_list[i].key, tag_list[i].val);
                                g_free(wtext);
                                wtext = g_strdup(tmp);