shell32: Remove unneeded address-of operators from array names

Andrew Talbot andrew.talbot at talbotville.com
Tue Nov 1 17:51:42 CDT 2011


Changelog:
    shell32: Remove unneeded address-of operators from array names.

diff --git a/dlls/shell32/shv_item_cmenu.c b/dlls/shell32/shv_item_cmenu.c
index 245bbd4..604099c 100644
--- a/dlls/shell32/shv_item_cmenu.c
+++ b/dlls/shell32/shv_item_cmenu.c
@@ -418,8 +418,8 @@ static void DoOpenProperties(ItemCmImpl *This, HWND hwnd)
 	psh.u3.phpage = hpages;
 	psh.u2.nStartPage = 0;
 
-	_ILSimpleGetTextW(This->apidl[0], (LPVOID)&wszFilename, MAX_PATH);
-	psh.pszCaption = (LPCWSTR)&wszFilename;
+	_ILSimpleGetTextW(This->apidl[0], (LPVOID)wszFilename, MAX_PATH);
+	psh.pszCaption = (LPCWSTR)wszFilename;
 
 	/* Find out where to look for the shell extensions */
 	if (_ILIsValue(This->apidl[0]))



More information about the wine-patches mailing list