aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 5eafc7a6..794e63d2 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -19,12 +19,11 @@ class StyleEngine;
*/
class StyleEngine {
private:
- class Node {
- public:
- dw::core::style::Style *style;
- dw::core::style::Style *wordStyle;
- const char *styleAttribute;
- bool inheritBackgroundColor;
+ struct Node {
+ dw::core::style::Style *style;
+ dw::core::style::Style *wordStyle;
+ const char *styleAttribute;
+ bool inheritBackgroundColor;
};
dw::core::Layout *layout;