Fix XPM decoder for images using color (1,0,0) and also using a mask.
authorPaul Cornett <paulcor@bullseye.com>
Fri, 28 Dec 2007 04:37:35 +0000 (04:37 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 28 Dec 2007 04:37:35 +0000 (04:37 +0000)
commitc284bc61bd0a8699342e311427b7b1806f443523
treefa16553656fdd44d7f540c65bf7bc17afd32d198
parent0d1c4edee3bc79b4f6bd33802f8858a0602141ab
Fix XPM decoder for images using color (1,0,0) and also using a mask.
Mask color was always set to that value because
FindFirstUnusedColour was called on an empty image.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/xpmdecod.cpp