From 4766e801a28a5551852afb6ac349dca0818b07eb Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 1 Jul 2013 13:51:00 +0200 Subject: [PATCH] objects.cache: Add support for the "notes" attribute. --- components/compat/compatcomponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index 0f13e4e8b..dd4570dd0 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -518,8 +518,8 @@ void CompatComponent::DumpCustomAttributes(std::ostream& fp, const DynamicObject BOOST_FOREACH(boost::tie(key, value), custom) { fp << "\t"; - if (key != "action_url" && key != "notes_url" && key != "icon_image" && - key != "icon_image_alt" && key != "statusmap_image" && "2d_coords") + if (key != "notes" && key != "action_url" && key != "notes_url" && + key != "icon_image" && key != "icon_image_alt" && key != "statusmap_image" && "2d_coords") fp << "_"; fp << key << "\t" << Convert::ToString(value) << "\n";