summaryrefslogtreecommitdiff
path: root/riscos/gif.c
diff options
context:
space:
mode:
authorPhilip Pemberton <phil@philpem.me.uk>2003-06-05 14:49:48 +0000
committerPhilip Pemberton <phil@philpem.me.uk>2003-06-05 14:49:48 +0000
commit7bab4d244646b11e21a86dbe0a03fdd5ed3cfd7b (patch)
treea708180478a722a8eedc7f590c0935e25f9d625d /riscos/gif.c
parent0993296a77d69bd2a3c4622a90dd9f5a0dcb809d (diff)
downloadnetsurf-7bab4d244646b11e21a86dbe0a03fdd5ed3cfd7b.tar.gz
netsurf-7bab4d244646b11e21a86dbe0a03fdd5ed3cfd7b.tar.bz2
[project @ 2003-06-05 14:49:48 by philpem]
Fixed bug in palette loader svn path=/import/netsurf/; revision=166
Diffstat (limited to 'riscos/gif.c')
-rw-r--r--riscos/gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/gif.c b/riscos/gif.c
index b2a9768b3..b693aadd6 100644
--- a/riscos/gif.c
+++ b/riscos/gif.c
@@ -10,7 +10,7 @@
* Add better error handling
* - especially where bad GIFs are concerned.
*
- * $Id: gif.c,v 1.1 2003/06/05 13:24:28 philpem Exp $
+ * $Id: gif.c,v 1.2 2003/06/05 14:49:48 philpem Exp $
*/
#include <assert.h>
@@ -261,7 +261,7 @@ int nsgif_convert(struct content *c, unsigned int width, unsigned int height)
c->data.gif.giffile->Image.ColorMap->Colors :
c->data.gif.giffile->SColorMap->Colors);
- for (i=0; i != 255; i++)
+ for (i=0; i < 256; i++)
sprite_palette->entries[i].on =
sprite_palette->entries[i].off =
(colormap[i].Blue << 24) |