summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 87b8a22c..4240b960 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -713,6 +713,14 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) {
713 set_Color(tmGopherLinkLastVisitDate_ColorId, get_Color(blue_ColorId)); 713 set_Color(tmGopherLinkLastVisitDate_ColorId, get_Color(blue_ColorId));
714 } 714 }
715 set_Color(tmBadLink_ColorId, get_Color(red_ColorId)); 715 set_Color(tmBadLink_ColorId, get_Color(red_ColorId));
716 /* Apply the saturation setting. */
717 for (int i = tmFirst_ColorId; i < max_ColorId; i++) {
718 if (!isLink_ColorId(i)) {
719 iHSLColor color = get_HSLColor(i);
720 color.sat *= prefs->saturation;
721 setHsl_Color(i, color);
722 }
723 }
716 } 724 }
717 if (seed && !isEmpty_Block(seed)) { 725 if (seed && !isEmpty_Block(seed)) {
718 d->themeSeed = crc32_Block(seed); 726 d->themeSeed = crc32_Block(seed);