summaryrefslogtreecommitdiff
path: root/server/src/macroparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/macroparser.cc')
-rw-r--r--server/src/macroparser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/macroparser.cc b/server/src/macroparser.cc
index 6f4798e..9175c07 100644
--- a/server/src/macroparser.cc
+++ b/server/src/macroparser.cc
@@ -195,7 +195,7 @@ void MacroParser::startTag(std::string name, std::map< std::string, std::string>
assert(m); // No macro is currently available, cannot create window!
m->window.attributes = attributes;
- m->window.attributes["type"] = name;
+ m->window.attributes["tagname"] = name;
Widget *current = &(m->window);
widgetstack.push_back(current);
@@ -211,7 +211,7 @@ void MacroParser::startTag(std::string name, std::map< std::string, std::string>
Widget w;
w.attributes = attributes;
- w.attributes["type"] = name;
+ w.attributes["tagname"] = name;
Widget *parent = widgetstack.back();
parent->widgets.push_back(w);