Permalink
Browse files

Fix accidential revert.

  • Loading branch information...
herm committed Dec 24, 2011
1 parent bb31330 commit e2933942f9f780067b65eda6afe26f9b99488c7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/load_map.cpp
View
@@ -656,7 +656,7 @@ void map_parser::parse_layer( Map & map, ptree const & lay )
if (child.first == "StyleName")
{
ensure_attrs(child.second, "StyleName", "none");
std::string style_name = child.second.data();
std::string style_name = get_value<std::string>(child.second, "style name");
if (style_name.empty())
{
std::ostringstream ss;

0 comments on commit e293394

Please sign in to comment.