You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
560 B
17 lines
560 B
10 years ago
|
|
||
|
Fixes #437708.
|
||
|
|
||
|
-- Chris Lamb <chris@chris-lamb.co.uk> Sun, 18 May 2008 02:11:57 +0100
|
||
|
|
||
|
--- imlib/Imlib/load.c.orig 2007-08-13 23:06:20.000000000 -0300
|
||
|
+++ imlib/Imlib/load.c 2007-08-13 23:06:51.000000000 -0300
|
||
|
@@ -645,7 +645,7 @@
|
||
|
planes = (int)word;
|
||
|
fread(&word, 2, 1, file);
|
||
|
bpp = (int)word;
|
||
|
- if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
|
||
|
+ if (bpp != 1 && bpp != 4 && bpp != 8 && bpp != 16 && bpp != 24 && bpp != 32)
|
||
|
{
|
||
|
fprintf(stderr, "IMLIB ERROR: unknown bitdepth in file\n");
|
||
|
return NULL;
|