Andrew Talbot : user32: Remove unneeded address-of operators from array names.

Alexandre Julliard julliard at winehq.org
Mon Jul 14 05:56:56 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Fri Jul 11 21:58:31 2008 +0100

user32: Remove unneeded address-of operators from array names.

---

 dlls/user32/exticon.c   |    2 +-
 dlls/user32/nonclient.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/exticon.c b/dlls/user32/exticon.c
index 3d28f4c..41f0f14 100644
--- a/dlls/user32/exticon.c
+++ b/dlls/user32/exticon.c
@@ -776,7 +776,7 @@ UINT WINAPI PrivateExtractIconExW (
 	  cxsmicon = GetSystemMetrics(SM_CXSMICON);
 	  cysmicon = GetSystemMetrics(SM_CYSMICON);
 
-	  ret = ICO_ExtractIconExW(lpwstrFile, (HICON*) &hIcon, nIndex, 2, cxicon | (cxsmicon<<16),
+	  ret = ICO_ExtractIconExW(lpwstrFile, (HICON*)hIcon, nIndex, 2, cxicon | (cxsmicon<<16),
 	                           cyicon | (cysmicon<<16), NULL, LR_DEFAULTCOLOR);
 	  *phIconLarge = hIcon[0];
 	  *phIconSmall = hIcon[1];
diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c
index b11f474..3fa870e 100644
--- a/dlls/user32/nonclient.c
+++ b/dlls/user32/nonclient.c
@@ -1648,7 +1648,7 @@ BOOL WINAPI GetTitleBarInfo(HWND hwnd, PTITLEBARINFO tbi) {
         tbi->rcTitleBar.left += GetSystemMetrics(SM_CXSIZE);
     }
 
-    ZeroMemory(&tbi->rgstate, sizeof(tbi->rgstate));
+    ZeroMemory(tbi->rgstate, sizeof(tbi->rgstate));
     /* Does the title bar always have STATE_SYSTEM_FOCUSABLE?
      * Under XP it seems to
      */




More information about the wine-cvs mailing list