[rt #75258] fix the utterly broken i_gpixf() for paletted images
authorTony Cook <tony@develop-help.com>
Mon, 5 Mar 2012 09:54:37 +0000 (20:54 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 5 Mar 2012 09:54:37 +0000 (20:54 +1100)
commit93eab01e375e413e3f3dd572c8dd7428494eaf5b
tree8c7f29c018eb7e5f145579e2b3da3bd408a1b1bb
parent5ee6074605d4403b7b013ea825efbf1d7a665d4f
[rt #75258] fix the utterly broken i_gpixf() for paletted images

This is implemented as a wrapper around the underlying i_gpix()
implementation and was handling the return value from i_gpix()
incorrectly.

Add tests and fix it.
Changes
image.c
t/t023palette.t