From 2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Sun, 5 Feb 2017 17:57:48 +0100 Subject: Fix styling breakage from r15471. (bzr r15478) --- src/style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index b65cb26cb..0b0358bb2 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -1003,7 +1003,7 @@ SPStyle::readIfUnset( gint id, gchar const *val, SPStyleSrc const &source ) { Glib::ustring SPStyle::write( guint const flags, SPStyleSrc const &style_src_req, SPStyle const *const base ) const { - // std::cout << "SPStyle::write" << std::endl; + // std::cout << "SPStyle::write: flags: " << flags << std::endl; Glib::ustring style_string; for(std::vector::size_type i = 0; i != _properties.size(); ++i) { @@ -1114,7 +1114,7 @@ SPStyle::_mergeString( gchar const *const p ) { CRDeclaration *const decl_list = cr_declaration_parse_list_from_buf(reinterpret_cast(p), CR_UTF_8); if (decl_list) { - _mergeDeclList( decl_list, SP_STYLE_SRC_ATTRIBUTE ); + _mergeDeclList( decl_list, SP_STYLE_SRC_STYLE_PROP ); cr_declaration_destroy(decl_list); } } -- cgit v1.2.3