diff options
-rw-r--r-- | devices/gdevtsep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devices/gdevtsep.c b/devices/gdevtsep.c index e0e04744c..6a50a4a85 100644 --- a/devices/gdevtsep.c +++ b/devices/gdevtsep.c | |||
@@ -916,7 +916,11 @@ tiffsep_cmyk_cs_to_cm(gx_device * dev, | |||
916 | int j; | 916 | int j; |
917 | 917 | ||
918 | if (devn->num_separation_order_names > 0) { | 918 | if (devn->num_separation_order_names > 0) { |
919 | /* This is to set only those that we are using */ | 919 | |
920 | /* We need to make sure to clear everything */ | ||
921 | for (j = 0; j < dev->color_info.num_components; j++) | ||
922 | out[j] = frac_0; | ||
923 | |||
920 | for (j = 0; j < devn->num_separation_order_names; j++) { | 924 | for (j = 0; j < devn->num_separation_order_names; j++) { |
921 | switch (map[j]) { | 925 | switch (map[j]) { |
922 | case 0 : | 926 | case 0 : |