aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-06 12:36:31 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-06 12:36:31 +0100
commitca9b558f4444e7f3e8bde5f72d2ec138ab6cb0ed (patch)
treecec2dfc75386670f80f1a098647339d212345d4f /src/styleengine.hh
parenta937e7eada039cbdd195c61eda541c749d4c2050 (diff)
fix check for name/id mismatch (noticed by corvid)
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 75f8fdd1..a17a350c 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -48,6 +48,7 @@ class StyleEngine : public Doctree {
void parse (const char *buf, int buflen, CssOrigin origin);
void startElement (int tag);
void setId (const char *id);
+ const char * getId () { return top ()->id; };
void setClass (const char *klass);
void setStyle (const char *style);
void endElement (int tag);