From 72e20d8f57980586dc3745b6fd53e47c84d4faca Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Tue, 19 Jun 2007 13:15:46 -0700 Subject: [PATCH] oleaut32: Save load time format of pictures. --- dlls/oleaut32/olepicture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c index 516b7f90a88..01e766dd2b1 100644 --- a/dlls/oleaut32/olepicture.c +++ b/dlls/oleaut32/olepicture.c @@ -1765,6 +1765,8 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) { */ magic = xbuf[0] + (xbuf[1]<<8); + This->loadtime_format = magic; + switch (magic) { case 0x4947: /* GIF */ hr = OLEPictureImpl_LoadGif(This, xbuf, xread);