summaryrefslogtreecommitdiff
path: root/filter/image-gif.c
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-05-22 21:33:05 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-05-22 21:33:05 +0000
commitf301802fc285c5ec9effadfbf13de653822dddd8 (patch)
tree6d627f9da77fa964c6797d263dc9a7bc58249f02 /filter/image-gif.c
parenta9252913e79774ff099dcc33283c1fb1ae3cb61f (diff)
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@158 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'filter/image-gif.c')
-rw-r--r--filter/image-gif.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/filter/image-gif.c b/filter/image-gif.c
index d8c30d1bf..09784a60e 100644
--- a/filter/image-gif.c
+++ b/filter/image-gif.c
@@ -1,9 +1,9 @@
/*
- * "$Id: image-gif.c 4741 2005-10-02 04:25:52Z mike $"
+ * "$Id: image-gif.c 5508 2006-05-11 11:41:16Z mike $"
*
* GIF image routines for the Common UNIX Printing System (CUPS).
*
- * Copyright 1993-2005 by Easy Software Products.
+ * Copyright 1993-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Easy Software Products and are protected by Federal
@@ -220,6 +220,8 @@ _cupsImageReadGIF(
break;
case CUPS_IMAGE_RGB :
case CUPS_IMAGE_RGB_CMYK :
+ for (i = ncolors - 1; i >= 0; i --)
+ cupsImageRGBToRGB(cmap[i], cmap[i], 1);
break;
}
@@ -693,5 +695,5 @@ gif_read_lzw(FILE *fp, /* I - File to read from */
/*
- * End of "$Id: image-gif.c 4741 2005-10-02 04:25:52Z mike $".
+ * End of "$Id: image-gif.c 5508 2006-05-11 11:41:16Z mike $".
*/