summaryrefslogtreecommitdiff
path: root/server/src/widgetgenerator.cc
diff options
context:
space:
mode:
authordeva <deva>2009-07-30 08:55:53 +0000
committerdeva <deva>2009-07-30 08:55:53 +0000
commitb596d748b398242b556cb5a6271dff014d5e638d (patch)
tree4c49da6cba80e53cd8ebc07081cb1b4cbd989d78 /server/src/widgetgenerator.cc
parent77272458e7a8906d871b241b5385bbd0f783d861 (diff)
Changed illogically named 'window' tag into the more descriptive 'widgets' tag.
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r--server/src/widgetgenerator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc
index b7d6ac3..f8f3790 100644
--- a/server/src/widgetgenerator.cc
+++ b/server/src/widgetgenerator.cc
@@ -192,9 +192,9 @@ static void get_fields(Widget &widget, Fieldnames &fields)
std::string widgetgenerator(std::string cpr, Macro &macro, LUAQueryMapper &mapper, Database &db)
{
Fieldnames fields;
- get_fields(macro.window, fields);
+ get_fields(macro.widgets, fields);
Values values = db.getValues(cpr, fields);
- return send_macro_widget(macro, macro.window, " ", mapper, values);
+ return send_macro_widget(macro, macro.widgets, " ", mapper, values);
}