aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-08 17:32:21 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-08 17:32:21 +0100
commit3da3f1077c994fdd4730c735aa11853acef3b74e (patch)
tree73610d2fc04ebbc9cb86bcdcfd144d5c6a6bbf78 /src/css.hh
parentdc012030ac53bfc77f2c03af8d4e672d4cb5ef05 (diff)
convert Html_tag_open_font()
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css.hh b/src/css.hh
index 991a926e..d28e78eb 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -8,7 +8,7 @@ class CssProperty {
public:
typedef union {
int intVal;
- char *strVal;
+ const char *strVal;
} Value;
typedef enum {
@@ -123,7 +123,7 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
static CssPropertyList *parse (const char *buf);
void set (CssProperty::Name name, CssProperty::Value value);
- void set (CssProperty::Name name, char *value) {
+ void set (CssProperty::Name name, const char *value) {
CssProperty::Value v;
v.strVal = value;
set (name, v);