summaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-05 09:22:34 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-05 09:22:34 +0100
commit4eb1e41793ec65d83bb41f58388edee610e3db8e (patch)
treed843d43091590f5d2a7f605dc6400fa076364020 /src/css.cc
parent0408b4e69fdc3dbfaa48a325028315098c4cad70 (diff)
add CssProperty::type
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.cc b/src/css.cc
index b7e34398..8ec1f0d8 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -46,7 +46,7 @@ void CssPropertyList::set (CssProperty::Name name, CssProperty::Value value) {
void CssPropertyList::apply (CssPropertyList *props) {
for (int i = 0; i < size (); i++)
- props->set (getRef (i)->name, getRef (i)->value);
+ props->set ((CssProperty::Name) getRef (i)->name, getRef (i)->value);
}
void CssPropertyList::print () {