From: Felipe C. da S. Sanches Date: Sun, 6 Dec 2009 21:25:09 +0000 (-0200) Subject: fix device-color output X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d5adf8139d703c53b4f812316182a233412077c;p=inkscape.git fix device-color output --- 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 << ')'; }