summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index e7eb6bde..c9a17374 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -1229,10 +1229,8 @@ static void draw_SidebarWidget_(const iSidebarWidget *d) {
1229 iPaint p; 1229 iPaint p;
1230 init_Paint(&p); 1230 init_Paint(&p);
1231 draw_Widget(w); 1231 draw_Widget(w);
1232 if (d->mode == documentOutline_SidebarMode) { 1232 drawVLine_Paint(
1233 drawVLine_Paint( 1233 &p, addX_I2(topRight_Rect(bounds), -1), height_Rect(bounds), uiSeparator_ColorId);
1234 &p, addX_I2(topRight_Rect(bounds), -1), height_Rect(bounds), uiSeparator_ColorId);
1235 }
1236} 1234}
1237 1235
1238static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, 1236static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect,