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, 1 insertions, 1 deletions
diff --git a/src/box.c b/src/box.c
index cbd9006..f3d65cd 100644
--- a/src/box.c
+++ b/src/box.c
@@ -51,7 +51,7 @@ ganv_box_init(GanvBox* box)
box, GANV_TYPE_BOX, GanvBoxImpl);
memset(&box->impl->coords, '\0', sizeof(GanvBoxCoords));
- box->impl->coords.border_width = box->node.impl->border_width;
+ box->impl->coords.border_width = 0.0;
box->impl->old_coords = box->impl->coords;
box->impl->radius_tl = 0.0;