diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-10 19:13:06 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-10 19:13:06 +0300 |
commit | 89a73e2befd3d614f3d77574082bb9c4e529ff38 (patch) | |
tree | 36afff0b3545936c4befda0fca7357c675166c37 | |
parent | 75df73293c3ff154699c30e7756d271b93938492 (diff) |
GmDocument: Monospace link styling
Monospace links should remain monospace regardless of visited state.
IssueID #274
-rw-r--r-- | src/gmdocument.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 6ea9348e..466169fc 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -713,7 +713,7 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
713 | } | 713 | } |
714 | } | 714 | } |
715 | /* Visited links are never bold. */ | 715 | /* Visited links are never bold. */ |
716 | if (run.linkId && linkFlags_GmDocument(d, run.linkId) & visited_GmLinkFlag) { | 716 | if (!isMono && run.linkId && linkFlags_GmDocument(d, run.linkId) & visited_GmLinkFlag) { |
717 | run.font = paragraph_FontId; | 717 | run.font = paragraph_FontId; |
718 | } | 718 | } |
719 | iAssert(!isEmpty_Range(&runLine)); /* must have something at this point */ | 719 | iAssert(!isEmpty_Range(&runLine)); /* must have something at this point */ |