In OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed
palette has been defined.
This commit is contained in:
parent
a9b1aa28b3
commit
e5013299e0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue