Alexandre Julliard : oleaut32/tests: Delete the correct object in the icon test.

Alexandre Julliard julliard at winehq.org
Fri Oct 19 13:33:53 CDT 2012


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Oct 18 20:18:47 2012 +0200

oleaut32/tests: Delete the correct object in the icon test.

---

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

diff --git a/dlls/oleaut32/tests/olepicture.c b/dlls/oleaut32/tests/olepicture.c
index b214d76..696f8cd 100644
--- a/dlls/oleaut32/tests/olepicture.c
+++ b/dlls/oleaut32/tests/olepicture.c
@@ -1055,7 +1055,7 @@ todo_wine
     GlobalUnlock(hmem);
     GlobalFree(hmem);
 
-    DeleteObject(desc.u.bmp.hbitmap);
+    DestroyIcon(desc.u.icon.hicon);
     IPicture_Release(pic);
 }
 




More information about the wine-cvs mailing list