]> git.pld-linux.org Git - packages/imlib.git/blame - imlib-16bit_depth_fix.patch
- new
[packages/imlib.git] / imlib-16bit_depth_fix.patch
CommitLineData
21f3766b
PG
1--- ./Imlib/load.c.org 2007-07-11 09:39:49.000000000 +0200
2+++ ./Imlib/load.c 2007-07-11 09:41:06.000000000 +0200
3@@ -653,7 +653,7 @@
4 planes = (int)word;
5 fread(&word, 2, 1, file);
6 bpp = (int)word;
7- if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
8+ if (bpp != 1 && bpp != 4 && bpp != 8 && bpp != 16 && bpp != 24 && bpp != 32)
9 {
10 fprintf(stderr, "IMLIB ERROR: unknown bitdepth in file\n");
11 return NULL;
This page took 0.028291 seconds and 4 git commands to generate.