diff options
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r-- | server/src/widgetgenerator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc index f9feb19..58f2992 100644 --- a/server/src/widgetgenerator.cc +++ b/server/src/widgetgenerator.cc @@ -115,7 +115,7 @@ static std::string send_macro_widget(Macro ¯o, while(p != widget.attributes.end()) { if(p->first != "tagname" && p->first != "map") { - result += " " + p->first + "=\"" + p->second + "\""; + if( ! (p->first == "name" && p->second == "") ) result += " " + p->first + "=\"" + p->second + "\""; } p++; } |