Commit 72e20d8f authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

oleaut32: Save load time format of pictures.

parent 5c5c5aab
...@@ -1765,6 +1765,8 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) { ...@@ -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);
......
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