Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

after #1483 fontset is boost optional so check appropriately in load_…

…map (solves assert)
  • Loading branch information...
commit b9b97ba6526aebbe920e0bd29b8dc8dc35267cfc 1 parent 7d066fe
@springmeyer springmeyer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/load_map.cpp
View
4 src/load_map.cpp
@@ -1135,7 +1135,7 @@ void map_parser::parse_text_symbolizer(rule & rule, xml_node const& sym)
placement_finder->defaults.from_xml(sym, fontsets_);
}
if (strict_ &&
- !placement_finder->defaults.format.fontset->size())
+ !placement_finder->defaults.format.fontset)
{
ensure_font_face(placement_finder->defaults.format.face_name);
}
@@ -1164,7 +1164,7 @@ void map_parser::parse_shield_symbolizer(rule & rule, xml_node const& sym)
}
placement_finder->defaults.from_xml(sym, fontsets_);
if (strict_ &&
- !placement_finder->defaults.format.fontset->size())
+ !placement_finder->defaults.format.fontset)
{
ensure_font_face(placement_finder->defaults.format.face_name);
}
Please sign in to comment.
Something went wrong with that request. Please try again.