summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9bc4c77)
raw | patch | inline | side by side (parent: 9bc4c77)
author | Felipe C. da S. Sanches <juca@members.fsf.org> | |
Sun, 6 Dec 2009 21:25:09 +0000 (19:25 -0200) | ||
committer | Felipe C. da S. Sanches <juca@members.fsf.org> | |
Sun, 6 Dec 2009 21:25:09 +0000 (19:25 -0200) |
src/color.cpp | patch | blob | history |
diff --git a/src/color.cpp b/src/color.cpp
index abaab6310005d238ee2ce50528765303baa71ce3..07c15ff15d9cb8d3ab16bb6119420b56b0955e12 100644 (file)
--- a/src/color.cpp
+++ b/src/color.cpp
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 << ')';
}