aboutsummaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-12-27 18:39:46 -0600
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-12-27 22:16:36 -0800
commite7dd39f9d227c5507e3789b18c7385bd3ea3cb8c (patch)
treef9b0e8115d8a2ab67f1d14f957879531459cd426 /shell/shell.c
parent2d626b13c6180a1b3319c4dc9da57b4649063daa (diff)
fmt_opts param for pango/html/text formatting
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell/shell.c')
-rw-r--r--shell/shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 3ece6a84..9f31b80f 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -747,6 +747,7 @@ void shell_init(GSList * modules)
DEBUG("initializing shell");
uri_set_function(hardinfo_link);
+ params.fmt_opts = FMT_OPT_PANGO;
create_window();
@@ -1524,8 +1525,6 @@ static gboolean detail_activate_link (GtkLabel *label, gchar *uri, gpointer user
return uri_open(uri);
}
-#include "format_early.h"
-
static gchar *vendor_info_markup(const Vendor *v) {
if (!v) return NULL;
gchar *ven_mt = NULL;