From afc95d4ac3fc1afd0289a924c6a48f18b4d38274 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 11 Jul 2008 21:58:31 +0100 Subject: [PATCH] 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 3d28f4c474f..41f0f14119e 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 b11f4744bb8..3fa870e63a1 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 */