diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2009-12-06 21:25:09 +0000 |
|---|---|---|
| committer | Felipe C. da S. Sanches <juca@members.fsf.org> | 2009-12-06 21:25:09 +0000 |
| commit | 15e328b2e1c6f08ca02c69096fca5018a577e4ec (patch) | |
| tree | e1f08e15e961cb21945f4f525715f5244e778832 /src/color.cpp | |
| parent | reverting file that was changed by mistake (diff) | |
| download | inkscape-15e328b2e1c6f08ca02c69096fca5018a577e4ec.tar.gz inkscape-15e328b2e1c6f08ca02c69096fca5018a577e4ec.zip | |
fix device-color output
(bzr r8873)
Diffstat (limited to 'src/color.cpp')
| -rw-r--r-- | src/color.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/color.cpp b/src/color.cpp index abaab6310..07c15ff15 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -245,7 +245,8 @@ std::string SPColor::toString() const for (vector<double>::const_iterator i(device->colors.begin()), iEnd(device->colors.end()); i != iEnd; ++i) { - css << ", " << *i; + if (i!=device->colors.begin()) css << ", "; + css << *i; } css << ')'; } |
