[PATCH 10/10] Do not underline forms (unless selected).

[email protected] Wed, 13 May 2009 00:01:57 -0400
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
---
 src/document/html/renderer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c
index d0ef32d..8a480b1 100644
--- a/src/document/html/renderer.c
+++ b/src/document/html/renderer.c
@@ -358,6 +358,7 @@ get_format_screen_char(struct html_context *html_context,
 		schar_cache.attr ^= SCREEN_ATTR_UNSEARCHABLE;
 	}
 	if (link_state != LINK_STATE_NONE
+	    && !format.form
 	    && html_context->options->underline_links) {
 		schar_cache.attr |= SCREEN_ATTR_UNDERLINE;
 	}
-- 
1.6.3