[PATCH 06/10] Keep forms in bold even when active.

[email protected] Wed, 13 May 2009 00:01:53 -0400
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
---
 src/viewer/text/link.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/viewer/text/link.c b/src/viewer/text/link.c
index eaa15f1..7cf3455 100644
--- a/src/viewer/text/link.c
+++ b/src/viewer/text/link.c
@@ -183,7 +183,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) {
-- 
1.6.3