diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-05 09:22:34 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-05 09:22:34 +0100 |
commit | 4eb1e41793ec65d83bb41f58388edee610e3db8e (patch) | |
tree | d843d43091590f5d2a7f605dc6400fa076364020 /src | |
parent | 0408b4e69fdc3dbfaa48a325028315098c4cad70 (diff) |
add CssProperty::type
Diffstat (limited to 'src')
-rw-r--r-- | src/css.cc | 2 | ||||
-rw-r--r-- | src/css.hh | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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 () { @@ -157,7 +157,8 @@ class CssProperty { CSS_FONT_WEIGHT_MAX = 900, } FontWeightExtensions; - Name name; + short name; + short type; Value value; inline void free () { |