summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/sidebarwidget.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 14d7a373..6397528e 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -2047,14 +2047,19 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect,
2047 fg, 2047 fg,
2048 "%s%s%s%s%s%s%s%s", 2048 "%s%s%s%s%s%s%s%s",
2049 isGemini ? "" : cstr_Rangecc(parts.scheme), 2049 isGemini ? "" : cstr_Rangecc(parts.scheme),
2050 isGemini ? "" : isAbout ? ":" : "://", 2050 isGemini ? ""
2051 : isAbout ? ":"
2052 : "://",
2051 escape_Color(isHover ? (isPressing ? uiTextPressed_ColorId 2053 escape_Color(isHover ? (isPressing ? uiTextPressed_ColorId
2052 : uiTextFramelessHover_ColorId) 2054 : uiTextFramelessHover_ColorId)
2053 : uiTextStrong_ColorId), 2055 : uiTextStrong_ColorId),
2054 cstr_Rangecc(parts.host), 2056 cstr_Rangecc(parts.host),
2055 escape_Color(fg), 2057 escape_Color(fg),
2056 cstr_Rangecc(parts.path), 2058 cstr_Rangecc(parts.path),
2057 !isEmpty_Range(&parts.query) ? escape_Color(uiAnnotation_ColorId) : "", 2059 !isEmpty_Range(&parts.query) ? escape_Color(isPressing ? uiTextPressed_ColorId
2060 : isHover ? uiText_ColorId
2061 : uiAnnotation_ColorId)
2062 : "",
2058 !isEmpty_Range(&parts.query) ? cstr_Rangecc(parts.query) : ""); 2063 !isEmpty_Range(&parts.query) ? cstr_Rangecc(parts.query) : "");
2059 } 2064 }
2060 iEndCollect(); 2065 iEndCollect();