pnm loader fix (Marcus Meissner, ticket 25).

SVN revision: 35796
This commit is contained in:
Kim Woelders 2008-09-02 18:43:25 +00:00
parent 5ccdcfd467
commit cb588739ae
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ load(ImlibImage * im, ImlibProgressFunction progress,
for (x = 0; x < w; x++)
{
*ptr2 =
0xff000000 | (((ptr[0] * 255) / v) << 16) |
0xff000000 | (((iptr[0] * 255) / v) << 16) |
(((iptr[1] * 255) / v) << 8) | ((iptr[2] *
255) / v);
ptr2++;