diff options
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index e3d7d4a6..8b0792c8 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -771,14 +771,14 @@ static void draw_SidebarWidget_(const iSidebarWidget *d) { | |||
771 | else { | 771 | else { |
772 | iUrl parts; | 772 | iUrl parts; |
773 | init_Url(&parts, &item->url); | 773 | init_Url(&parts, &item->url); |
774 | const iBool isGemini = equalCase_Rangecc(parts.protocol, "gemini"); | 774 | const iBool isGemini = equalCase_Rangecc(parts.scheme, "gemini"); |
775 | draw_Text( | 775 | draw_Text( |
776 | font, | 776 | font, |
777 | add_I2(topLeft_Rect(itemRect), | 777 | add_I2(topLeft_Rect(itemRect), |
778 | init_I2(3 * gap_UI, (d->itemHeight - lineHeight_Text(font)) / 2)), | 778 | init_I2(3 * gap_UI, (d->itemHeight - lineHeight_Text(font)) / 2)), |
779 | fg, | 779 | fg, |
780 | "%s%s%s%s%s%s", | 780 | "%s%s%s%s%s%s", |
781 | isGemini ? "" : cstr_Rangecc(parts.protocol), | 781 | isGemini ? "" : cstr_Rangecc(parts.scheme), |
782 | isGemini ? "" : "://", | 782 | isGemini ? "" : "://", |
783 | escape_Color(isHover ? (isPressing ? uiTextPressed_ColorId | 783 | escape_Color(isHover ? (isPressing ? uiTextPressed_ColorId |
784 | : uiTextFramelessHover_ColorId) | 784 | : uiTextFramelessHover_ColorId) |