[gnome-software/wip/hughsie/libxmlb-tokenization] Apply 1 suggestion(s) to 1 file(s)



commit 96995cc686f91fde3cf66d7fcc6303949672da15
Author: Richard Hughes <richard hughsie com>
Date:   Mon Mar 22 16:46:12 2021 +0000

    Apply 1 suggestion(s) to 1 file(s)

 plugins/core/gs-plugin-appstream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 4aa7ca743..56c2afc93 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -362,7 +362,7 @@ gs_plugin_appstream_tokenize_cb (XbBuilderFixup *self,
                "summary",
                NULL };
        if (xb_builder_node_get_element (bn) != NULL &&
-           g_strv_contains (tokn, xb_builder_node_get_element (bn)))
+           g_strv_contains (elements_to_tokenize, xb_builder_node_get_element (bn)))
                xb_builder_node_tokenize_text (bn);
        return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]