summaryrefslogtreecommitdiffstats
path: root/src/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/box.c')
-rw-r--r--src/box.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/box.c b/src/box.c
index 5d9a41a..cbd9006 100644
--- a/src/box.c
+++ b/src/box.c
@@ -274,6 +274,8 @@ ganv_box_draw(GanvItem* item,
cairo_set_line_width(cr, impl->coords.border_width);
if (dash_length > 0) {
cairo_set_dash(cr, &dash_length, 1, box->node.impl->dash_offset);
+ } else {
+ cairo_set_dash(cr, &dash_length, 0, 0);
}
}
cairo_stroke(cr);