Commit e5013299 authored by Walt Ogburn's avatar Walt Ogburn Committed by Alexandre Julliard

In OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed

palette has been defined.
parent a9b1aa28
......@@ -1293,7 +1293,7 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) {
CBM_INIT,
xbuf+bfh->bfOffBits,
bi,
(bi->bmiHeader.biBitCount<=8)?DIB_PAL_COLORS:DIB_RGB_COLORS
DIB_RGB_COLORS
);
DeleteDC(hdcref);
This->desc.picType = PICTYPE_BITMAP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment