diff --git a/src/formatting/expression.cpp b/src/formatting/expression.cpp index 5d032f8a4..d9fa9b311 100644 --- a/src/formatting/expression.cpp +++ b/src/formatting/expression.cpp @@ -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"); diff --git a/src/formatting/format.cpp b/src/formatting/format.cpp index 3f94ab77a..4293628bb 100644 --- a/src/formatting/format.cpp +++ b/src/formatting/format.cpp @@ -62,7 +62,7 @@ node_ptr format_node::from_xml(xml_node const& xml) n->text_size = xml.get_opt_attr("size"); n->character_spacing = xml.get_opt_attr("character-spacing"); n->line_spacing = xml.get_opt_attr("line-spacing"); - n->text_opacity = xml.get_opt_attr("opactity"); + n->text_opacity = xml.get_opt_attr("opacity"); boost::optional wrap = xml.get_opt_attr("wrap-before"); if (wrap) n->wrap_before = *wrap; n->wrap_char = xml.get_opt_attr("wrap-character");