summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-02-05 16:57:48 +0000
committertavmjong-free <tavmjong@free.fr>2017-02-05 16:57:48 +0000
commit2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef (patch)
treee24173bd7cf248d3e369ddf0b04774f7f57a84d7 /src/sp-object.cpp
parentFix C++11 errors and warnings with g++-7 (diff)
downloadinkscape-2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef.tar.gz
inkscape-2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef.zip
Fix styling breakage from r15471.
(bzr r15478)
Diffstat (limited to '')
-rw-r--r--src/sp-object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index cc862417d..7807703f6 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -1063,7 +1063,7 @@ Inkscape::XML::Node* SPObject::write(Inkscape::XML::Document *doc, Inkscape::XML
if (style) {
// Write if property set by style attribute in this object
Glib::ustring s =
- style->write(SP_STYLE_FLAG_IFSET & SP_STYLE_FLAG_IFSRC, SP_STYLE_SRC_STYLE_PROP);
+ style->write(SP_STYLE_FLAG_IFSET | SP_STYLE_FLAG_IFSRC, SP_STYLE_SRC_STYLE_PROP);
// Check for valid attributes. This may be time consuming.
// It is useful, though, for debugging Inkscape code.