diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2015-12-08 14:24:13 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2015-12-08 14:24:13 +0000 |
| commit | 689ac8e0dc1edc3e53c88daa44fae0f8f1857346 (patch) | |
| tree | 34e167787952117f7b7f09d071430c76d839e375 /src/style-internal.cpp | |
| parent | add negative values to bend and pattern along path whith knot (diff) | |
| download | inkscape-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.cpp | 3 |
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; } |
