summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/sidebarwidget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 32dcf61f..dc1a60dc 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -1251,8 +1251,7 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect,
1251 int skip = metaSize.x + advance_Text(uiLabel_FontId, " \u2014 ").x; 1251 int skip = metaSize.x + advance_Text(uiLabel_FontId, " \u2014 ").x;
1252 iInt2 cur = addX_I2(pos, skip); 1252 iInt2 cur = addX_I2(pos, skip);
1253 const char *endPos; 1253 const char *endPos;
1254 tryAdvance_Text( 1254 tryAdvance_Text(titleFont, range_String(&d->label), avail - skip, &endPos);
1255 uiContent_FontId, range_String(&d->label), avail - skip, &endPos);
1256 drawRange_Text(titleFont, 1255 drawRange_Text(titleFont,
1257 cur, 1256 cur,
1258 labelFg, 1257 labelFg,