Alexandre Julliard : Fix redundant uses of MAKEINTRESOURCE.

Alexandre Julliard julliard at winehq.org
Thu Oct 18 07:59:41 CDT 2007


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Oct 18 14:12:05 2007 +0200

Fix redundant uses of MAKEINTRESOURCE.

---

 dlls/ole32/tests/ole2.c      |    2 +-
 dlls/shell32/tests/systray.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 6732c13..4eb6be6 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1175,7 +1175,7 @@ static void test_data_cache(void)
     fmtetc.cfFormat = CF_METAFILEPICT;
     stgmedium.tymed = TYMED_MFPICT;
     U(stgmedium).hMetaFilePict = OleMetafilePictFromIconAndLabel(
-        LoadIcon(NULL, MAKEINTRESOURCE(IDI_APPLICATION)), wszPath, wszPath, 0);
+        LoadIcon(NULL, IDI_APPLICATION), wszPath, wszPath, 0);
     stgmedium.pUnkForRelease = NULL;
 
     fmtetc.dwAspect = DVASPECT_CONTENT;
diff --git a/dlls/shell32/tests/systray.c b/dlls/shell32/tests/systray.c
index b80b109..9c97a4e 100644
--- a/dlls/shell32/tests/systray.c
+++ b/dlls/shell32/tests/systray.c
@@ -83,7 +83,7 @@ START_TEST(systray)
     wc.cbWndExtra = 0;
     wc.hInstance = GetModuleHandleA(NULL);
     wc.hIcon = NULL;
-    wc.hCursor = LoadCursorA(NULL, MAKEINTRESOURCEA(IDC_IBEAM));
+    wc.hCursor = LoadCursorA(NULL, IDC_IBEAM);
     wc.hbrBackground = GetSysColorBrush(COLOR_WINDOW);
     wc.lpszMenuName = NULL;
     wc.lpszClassName = "MyTestWnd";




More information about the wine-cvs mailing list