diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-10 20:28:38 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-10 20:28:38 +0100 |
commit | 730cf3c963fdacaf980a6c954c233baef1d7de5c (patch) | |
tree | 91ef3721d7008346d60fad3d7377d67998a532eb /src/styleengine.cc | |
parent | 827fe83a429f7bceebfde326c8cff7723f971edd (diff) |
fix hBorderSpacing and vBorderSpacing
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 4 |
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); |