Module: wine Branch: master Commit: 72a760beb0595555959e0e45f4a0854dd53869a7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=72a760beb0595555959e0e45f4...
Author: Evan Stade estade@gmail.com Date: Fri Aug 3 17:30:11 2007 -0700
oleaut32: Allow PNG_COLOR_TYPE_RGB_ALPHA.
---
dlls/oleaut32/olepicture.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c index ca46d01..b12a85b 100644 --- a/dlls/oleaut32/olepicture.c +++ b/dlls/oleaut32/olepicture.c @@ -1443,7 +1443,8 @@ static HRESULT OLEPictureImpl_LoadPNG(OLEPictureImpl *This, BYTE *xbuf, ULONG xr ppng_read_info(png_ptr, info_ptr);
if(!(png_ptr->color_type == PNG_COLOR_TYPE_RGB || - png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)){ + png_ptr->color_type == PNG_COLOR_TYPE_PALETTE || + png_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)){ FIXME("Unsupported .PNG type: %d\n", png_ptr->color_type); ret = E_FAIL; goto pngend;