From 7d5adf8139d703c53b4f812316182a233412077c Mon Sep 17 00:00:00 2001 From: "Felipe C. da S. Sanches" Date: Sun, 6 Dec 2009 19:25:09 -0200 Subject: [PATCH] fix device-color output --- src/color.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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::const_iterator i(device->colors.begin()), iEnd(device->colors.end()); i != iEnd; ++i) { - css << ", " << *i; + if (i!=device->colors.begin()) css << ", "; + css << *i; } css << ')'; } -- 2.30.2