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

Alexandre Julliard julliard at winehq.org
Tue Nov 1 13:23:17 CDT 2011


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Oct 31 21:19:16 2011 +0000

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

---

 dlls/comdlg32/itemdlg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index 9e90276..f700891 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -1350,7 +1350,7 @@ static void init_toolbar(FileDialogImpl *This, HWND hwnd)
     button[1].dwData = 0;
     button[1].iString = 0;
 
-    SendMessageW(htoolbar, TB_ADDBUTTONSW, 2, (LPARAM)&button);
+    SendMessageW(htoolbar, TB_ADDBUTTONSW, 2, (LPARAM)button);
     SendMessageW(htoolbar, TB_SETBUTTONSIZE, 0, MAKELPARAM(24,24));
     SendMessageW(htoolbar, TB_AUTOSIZE, 0, 0);
 }




More information about the wine-cvs mailing list