user32: Remove unneeded address-of operators from array names
Andrew Talbot
andrew.talbot at talbotville.com
Fri Jul 11 15:58:31 CDT 2008
Changelog:
user32: Remove unneeded address-of operators from array names.
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-patches
mailing list