hhctrl.ocx: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Thu Jul 10 17:08:56 CDT 2008


Changelog:
    hhctrl.ocx: Remove unneeded address-of operator from array name.

diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index a2081ce..0e81a99 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -587,7 +587,7 @@ static BOOL HH_AddToolbar(HHInfo *pHHInfo)
         heap_free(szBuf);
     }
 
-    SendMessageW(hToolbar, TB_ADDBUTTONSW, dwNumButtons, (LPARAM)&buttons);
+    SendMessageW(hToolbar, TB_ADDBUTTONSW, dwNumButtons, (LPARAM)buttons);
     SendMessageW(hToolbar, TB_AUTOSIZE, 0, 0);
     ShowWindow(hToolbar, SW_SHOW);
 



More information about the wine-patches mailing list