From 6ad3e541c8113e29a0dfca30ec59c645f116cbb6 Mon Sep 17 00:00:00 2001 From: Yozo Hida Date: Fri, 1 May 2009 15:39:30 -0400 Subject: [PATCH] Keep forms in bold even when active. --- src/viewer/text/link.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/viewer/text/link.c b/src/viewer/text/link.c index b91d8fc43..6243d0f14 100644 --- a/src/viewer/text/link.c +++ b/src/viewer/text/link.c @@ -184,7 +184,8 @@ init_link_drawing(struct document_view *doc_view, struct link *link, int invert) if (doc_opts->active_link.underline) template_.attr |= SCREEN_ATTR_UNDERLINE; - if (doc_opts->active_link.bold) + /* keep forms in bold */ + if (doc_opts->active_link.bold || link->type != LINK_HYPERTEXT) template_.attr |= SCREEN_ATTR_BOLD; if (doc_opts->active_link.enable_color) {