aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/styleengine.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 63cf094c..9a08c03a 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -127,10 +127,10 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) {
attrs->borderWidth.setVal (p->value.intVal);
break;
case CssProperty::CSS_PROPERTY_BORDER_SPACING_HORIZONTAL:
- attrs->borderWidth.setVal (p->value.intVal);
+ attrs->hBorderSpacing = p->value.intVal;
break;
case CssProperty::CSS_PROPERTY_BORDER_SPACING_VERTICAL:
- attrs->borderWidth.setVal (p->value.intVal);
+ attrs->vBorderSpacing = p->value.intVal;
break;
case CssProperty::CSS_PROPERTY_COLOR:
attrs->color = Color::createSimple (layout, p->value.intVal);