oleaut32: Save load time format of pictures.
This commit is contained in:
parent
5c5c5aabc5
commit
72e20d8f57
|
@ -1765,6 +1765,8 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
magic = xbuf[0] + (xbuf[1]<<8);
|
magic = xbuf[0] + (xbuf[1]<<8);
|
||||||
|
This->loadtime_format = magic;
|
||||||
|
|
||||||
switch (magic) {
|
switch (magic) {
|
||||||
case 0x4947: /* GIF */
|
case 0x4947: /* GIF */
|
||||||
hr = OLEPictureImpl_LoadGif(This, xbuf, xread);
|
hr = OLEPictureImpl_LoadGif(This, xbuf, xread);
|
||||||
|
|
Loading…
Reference in New Issue