[2/2] oleaut32: save loadtime format of pictures
Evan Stade
estade at gmail.com
Tue Jun 19 15:15:46 CDT 2007
Hi,
The loadtime format is never stored when a picture is loaded (even
though it is referenced by OLEPictureImpl_Save).
changelog:
*added a line to save the loadtime format of images
dlls/oleaut32/olepicture.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
Evan Stade
-------------- next part --------------
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index 7b3363f..7a73d36 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -1775,6 +1775,8 @@ static HRESULT WINAPI OLEPictureImpl_Loa
*/
magic = xbuf[0] + (xbuf[1]<<8);
+ This->loadtime_format = magic;
+
switch (magic) {
case 0x4947: /* GIF */
hr = OLEPictureImpl_LoadGif(This, xbuf, xread);
--
1.4.1
More information about the wine-patches
mailing list