From e7dd39f9d227c5507e3789b18c7385bd3ea3cb8c Mon Sep 17 00:00:00 2001 From: Burt P Date: Fri, 27 Dec 2019 18:39:46 -0600 Subject: fmt_opts param for pango/html/text formatting Signed-off-by: Burt P --- modules/devices/pci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/devices/pci.c') diff --git a/modules/devices/pci.c b/modules/devices/pci.c index bdff87d3..6efb425c 100644 --- a/modules/devices/pci.c +++ b/modules/devices/pci.c @@ -59,8 +59,6 @@ static const gchar *find_icon_for_class(uint32_t class) return "devices.png"; } -#include "format_early.h" - static gchar *_pci_dev(const pcid *p, gchar *icons) { gchar *str; gchar *class, *vendor, *svendor, *product, *sproduct; @@ -74,8 +72,8 @@ static gchar *_pci_dev(const pcid *p, gchar *icons) { product = UNKIFNULL_AC(p->device_id_str); sproduct = UNKIFNULL_AC(p->sub_device_id_str); - gchar *ven_tag = vendor_match_tag(p->vendor_id_str, FMT_OPT_PANGO); /* TODO:FIX FOR REPORT! */ - gchar *sven_tag = vendor_match_tag(p->sub_vendor_id_str, FMT_OPT_PANGO); /* TODO:FIX FOR REPORT! */ + gchar *ven_tag = vendor_match_tag(p->vendor_id_str, params.fmt_opts); + gchar *sven_tag = vendor_match_tag(p->sub_vendor_id_str, params.fmt_opts); if (ven_tag) { if (sven_tag && !vendor_is_svendor) { name = g_strdup_printf("%s %s %s", sven_tag, ven_tag, product); -- cgit v1.2.3