Evan Stade : oleaut32: Save load time format of pictures.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 3 08:01:23 CDT 2007


Module: wine
Branch: master
Commit: 72e20d8f57980586dc3745b6fd53e47c84d4faca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=72e20d8f57980586dc3745b6fd53e47c84d4faca

Author: Evan Stade <estade at gmail.com>
Date:   Tue Jun 19 13:15:46 2007 -0700

oleaut32: Save load time format of pictures.

---

 dlls/oleaut32/olepicture.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index 516b7f9..01e766d 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);




More information about the wine-cvs mailing list