aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-11 21:22:52 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-11 21:22:52 +0100
commit70a6db98663592464a5b082d195f93d280391eb7 (patch)
treeb0ff17a0d96d67458d8d5bd4302d641be6dada3a /src/styleengine.cc
parent1649a022271e67611d830127a0d9f34852b2718c (diff)
adjust pseudo class handling
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index e43d9171..6d6d3085 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -59,7 +59,7 @@ void StyleEngine::startElement (int tag, const char *id, const char *klass,
n->tag = tag;
n->id = id;
n->klass = klass;
- n->pseudoClass = NULL;
+ n->pseudo = NULL;
n->styleAttribute = style;
}
@@ -76,8 +76,8 @@ void StyleEngine::setNonCssProperties (CssPropertyList *props) {
/**
* \brief set the CSS pseudo class (e.g. "link", "visited").
*/
-void StyleEngine::setPseudoClass (const char *pseudoClass) {
- stack->getRef (stack->size () - 1)->pseudoClass = pseudoClass;
+void StyleEngine::setPseudoClass (const char *pseudo) {
+ stack->getRef (stack->size () - 1)->pseudo = pseudo;
}
/**