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:
commit
a6996b7d3a
@ -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)
|
if (doc_opts->active_link.underline && link->type != LINK_FIELD)
|
||||||
template_.attr |= SCREEN_ATTR_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;
|
template_.attr |= SCREEN_ATTR_BOLD;
|
||||||
|
|
||||||
if (doc_opts->active_link.enable_color) {
|
if (doc_opts->active_link.enable_color) {
|
||||||
|
Loading…
Reference in New Issue
Block a user