summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-12-08 14:24:13 +0000
committertavmjong-free <tavmjong@free.fr>2015-12-08 14:24:13 +0000
commit689ac8e0dc1edc3e53c88daa44fae0f8f1857346 (patch)
tree34e167787952117f7b7f09d071430c76d839e375 /src/style-internal.cpp
parentadd negative values to bend and pattern along path whith knot (diff)
downloadinkscape-689ac8e0dc1edc3e53c88daa44fae0f8f1857346.tar.gz
inkscape-689ac8e0dc1edc3e53c88daa44fae0f8f1857346.zip
Fix return value for SPIEnumBits::write().
(bzr r14517)
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;
}