summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-12-06 21:25:09 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2009-12-06 21:25:09 +0000
commit15e328b2e1c6f08ca02c69096fca5018a577e4ec (patch)
treee1f08e15e961cb21945f4f525715f5244e778832 /src
parentreverting file that was changed by mistake (diff)
downloadinkscape-15e328b2e1c6f08ca02c69096fca5018a577e4ec.tar.gz
inkscape-15e328b2e1c6f08ca02c69096fca5018a577e4ec.zip
fix device-color output
(bzr r8873)
Diffstat (limited to 'src')
-rw-r--r--src/color.cpp3
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 << ')';
}