mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:21:15 +00:00
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);
|
||||
This->loadtime_format = magic;
|
||||
|
||||
switch (magic) {
|
||||
case 0x4947: /* GIF */
|
||||
hr = OLEPictureImpl_LoadGif(This, xbuf, xread);
|
||||
|
|
Loading…
Reference in a new issue