oleaut: OLEPicture.LoadIcon loses hotspot information when loading cursors. Added FIXME.

Daniel Jelinski djelinski1 at gmail.com
Sat Apr 21 01:49:23 CDT 2012


-------------- next part --------------
From 4939b0413c16a62514731d910293fbd3f65b41db Mon Sep 17 00:00:00 2001
From: Daniel Jelinski <djelinski1 at gmail.com>
Date: Sat, 21 Apr 2012 08:44:00 +0200
Subject: oleaut: OLEPicture.LoadIcon loses hotspot information when loading
 cursors. Added FIXME.

---
 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 2195ba5..d927227 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -1201,6 +1201,8 @@ static HRESULT OLEPictureImpl_LoadIcon(OLEPictureImpl *This, BYTE *xbuf, ULONG x
     HDC hdcRef;
     int	i;
 
+    if(cifd->idType == 2)
+        FIXME(": loading cursors partially implemented, hotspot information will be lost\n");
     /*
     FIXME("icon.idReserved=%d\n",cifd->idReserved);
     FIXME("icon.idType=%d\n",cifd->idType);
-- 
1.7.5.4


More information about the wine-patches mailing list