summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-12-08 19:52:35 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2015-12-08 19:52:35 +0000
commitb8bcd645d8131ee82fb1d6a814cf519634dfd17a (patch)
tree0e4c218d4d53167961440daed56942a829740478 /src/style-internal.cpp
parentfix warning (class was a struct) (diff)
parentFix return value for SPIEnumBits::write(). (diff)
downloadinkscape-b8bcd645d8131ee82fb1d6a814cf519634dfd17a.tar.gz
inkscape-b8bcd645d8131ee82fb1d6a814cf519634dfd17a.zip
update to trunk
(bzr r14504.1.11)
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index c117a97f9..b425a1c80 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -709,7 +709,8 @@ SPIEnumBits::write( guint const flags, SPIBase const *const base) const {
unsigned j = 1;
for (unsigned i = 0; enums[i].key; ++i) {
if (j & this->value ) {
- return_string += enums[i].value + " ";
+ return_string += enums[i].key;
+ return_string += " ";
}
j *= 2;
}