r22618 by jghali - Fix incorrect DSC comment when exporting spot colors to PS

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 5 20:36:07 UTC 2018


Author: jghali
Date: Sun Aug  5 20:36:07 2018
New Revision: 22618

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22618
Log:
Fix incorrect DSC comment when exporting spot colors to PS

Modified:
    trunk/Scribus/scribus/pslib.cpp

Modified: trunk/Scribus/scribus/pslib.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22618&path=/trunk/Scribus/scribus/pslib.cpp
==============================================================================
--- trunk/Scribus/scribus/pslib.cpp	(original)
+++ trunk/Scribus/scribus/pslib.cpp	Sun Aug  5 20:36:07 2018
@@ -282,8 +282,8 @@
 				Farben += "%%+ ";
 				FNamen += "%%+ ";
 			}
-			Farben += ToStr(static_cast<double>(c) / 255) + " " + ToStr(static_cast<double>(m) / 255) + " ";
-			Farben += ToStr(static_cast<double>(y) / 255) + " " + ToStr(static_cast<double>(k) / 255) + " (" + itf.key() + ")\n";
+			Farben += ToStr(c) + " " + ToStr(m) + " ";
+			Farben += ToStr(y) + " " + ToStr(k) + " (" + itf.key() + ")\n";
 			FNamen += "(" + itf.key() + ")\n";
 			erst = false;
 		}




More information about the scribus-commit mailing list