comdlg32: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Wed Jul 9 14:36:41 CDT 2008


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

diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index 618fc22..dd47528 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -1164,7 +1164,7 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
   SendMessageW(fodInfos->DlgInfos.hwndTB, TB_ADDBITMAP, 12, (LPARAM) &tba[0]);
   SendMessageW(fodInfos->DlgInfos.hwndTB, TB_ADDBITMAP, 1, (LPARAM) &tba[1]);
 
-  SendMessageW(fodInfos->DlgInfos.hwndTB, TB_ADDBUTTONSW, 9, (LPARAM) &tbb);
+  SendMessageW(fodInfos->DlgInfos.hwndTB, TB_ADDBUTTONSW, 9, (LPARAM) tbb);
   SendMessageW(fodInfos->DlgInfos.hwndTB, TB_AUTOSIZE, 0, 0);
 
   /* Set the window text with the text specified in the OPENFILENAME structure */





More information about the wine-patches mailing list