1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Merge pull request #7 from aelmahmoudy/keep_forms_bold

Keep forms in bold even when active.
This commit is contained in:
rkd77 2017-11-22 11:55:40 +01:00 committed by GitHub
commit a6996b7d3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,8 @@ init_link_drawing(struct document_view *doc_view, struct link *link, int invert,
if (doc_opts->active_link.underline && link->type != LINK_FIELD)
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) {