oleaut32: Save load time format of pictures.

oldstable
Evan Stade 2007-06-19 13:15:46 -07:00 committed by Alexandre Julliard
parent 5c5c5aabc5
commit 72e20d8f57
1 changed files with 2 additions and 0 deletions

View File

@ -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);