diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-12-08 19:52:35 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2015-12-08 19:52:35 +0000 |
| commit | b8bcd645d8131ee82fb1d6a814cf519634dfd17a (patch) | |
| tree | 0e4c218d4d53167961440daed56942a829740478 /src/style-internal.cpp | |
| parent | fix warning (class was a struct) (diff) | |
| parent | Fix return value for SPIEnumBits::write(). (diff) | |
| download | inkscape-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.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; } |
