Skip to content

Commit

Permalink
fix spelling of opacity in text/formatting - refs #1470
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Sep 4, 2012
1 parent 28063e2 commit b385370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/formatting/expression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ node_ptr expression_format::from_xml(xml_node const& xml)
n->text_size = get_expression(xml, "size");
n->character_spacing = get_expression(xml, "character-spacing");
n->line_spacing = get_expression(xml, "line-spacing");
n->text_opacity = get_expression(xml, "opactity");
n->text_opacity = get_expression(xml, "opacity");
n->wrap_before = get_expression(xml, "wrap-before");
n->wrap_char = get_expression(xml, "wrap-character");
n->fill = get_expression(xml, "fill");
Expand Down
2 changes: 1 addition & 1 deletion src/formatting/format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ node_ptr format_node::from_xml(xml_node const& xml)
n->text_size = xml.get_opt_attr<unsigned>("size");
n->character_spacing = xml.get_opt_attr<unsigned>("character-spacing");
n->line_spacing = xml.get_opt_attr<unsigned>("line-spacing");
n->text_opacity = xml.get_opt_attr<double>("opactity");
n->text_opacity = xml.get_opt_attr<double>("opacity");
boost::optional<boolean> wrap = xml.get_opt_attr<boolean>("wrap-before");
if (wrap) n->wrap_before = *wrap;
n->wrap_char = xml.get_opt_attr<unsigned>("wrap-character");
Expand Down

0 comments on commit b385370

Please sign in to comment.