From 3735e8f431002936ba43b7367ad13cf5396ca867 Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Thu, 22 Apr 1999 03:42:19 +0200 Subject: [PATCH] Fixed colormap support (forgot to push the text 'colormap') Rev: src/modules/_Image_TIFF/image_tiff.c:1.6 --- src/modules/_Image_TIFF/image_tiff.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/_Image_TIFF/image_tiff.c b/src/modules/_Image_TIFF/image_tiff.c index e4ffd07b67..80947b8c37 100644 --- a/src/modules/_Image_TIFF/image_tiff.c +++ b/src/modules/_Image_TIFF/image_tiff.c @@ -13,7 +13,7 @@ #ifdef HAVE_LIBTIFF -RCSID("$Id: image_tiff.c,v 1.5 1999/04/14 19:13:19 grubba Exp $"); +RCSID("$Id: image_tiff.c,v 1.6 1999/04/22 01:42:19 per Exp $"); #include "global.h" #include "machine.h" @@ -524,6 +524,7 @@ void low_image_tiff_decode( struct buffer *buf, if (TIFFFieldSet(tif,FIELD_COLORMAP)) { int l,n = 1L<<td->td_bitspersample; + push_text("colormap"); for (l = 0; l < n; l++) { push_int( td->td_colormap[0][l] ); -- GitLab