Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2e4224fe
Commit
2e4224fe
authored
Aug 29, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove unneeded address-of operators from function name.
parent
92c408cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
shv_item_cmenu.c
dlls/shell32/shv_item_cmenu.c
+3
-7
No files found.
dlls/shell32/shv_item_cmenu.c
View file @
2e4224fe
...
...
@@ -382,7 +382,7 @@ static BOOL DoCopyOrCut(ItemCmImpl *This, HWND hwnd, BOOL bCut)
* Used by DoOpenProperties through SHCreatePropSheetExtArrayEx to add
* propertysheet pages from shell extensions.
*/
static
BOOL
Properties_AddPropSheetCallback
(
HPROPSHEETPAGE
hpage
,
LPARAM
lparam
)
static
BOOL
CALLBACK
Properties_AddPropSheetCallback
(
HPROPSHEETPAGE
hpage
,
LPARAM
lparam
)
{
LPPROPSHEETHEADERW
psh
=
(
LPPROPSHEETHEADERW
)
lparam
;
psh
->
u3
.
phpage
[
psh
->
nPages
++
]
=
hpage
;
...
...
@@ -476,17 +476,13 @@ static void DoOpenProperties(ItemCmImpl *This, HWND hwnd)
hpsxa
=
SHCreatePropSheetExtArrayEx
(
HKEY_CLASSES_ROOT
,
wszFiletype
,
MAX_PROP_PAGES
-
psh
.
nPages
,
lpDo
);
if
(
hpsxa
!=
NULL
)
{
SHAddFromPropSheetExtArray
((
HPSXA
)
hpsxa
,
(
LPFNADDPROPSHEETPAGE
)
&
Properties_AddPropSheetCallback
,
(
LPARAM
)
&
psh
);
SHAddFromPropSheetExtArray
(
hpsxa
,
Properties_AddPropSheetCallback
,
(
LPARAM
)
&
psh
);
SHDestroyPropSheetExtArray
(
hpsxa
);
}
hpsxa
=
SHCreatePropSheetExtArrayEx
(
HKEY_CLASSES_ROOT
,
wszFiletypeAll
,
MAX_PROP_PAGES
-
psh
.
nPages
,
lpDo
);
if
(
hpsxa
!=
NULL
)
{
SHAddFromPropSheetExtArray
((
HPSXA
)
hpsxa
,
(
LPFNADDPROPSHEETPAGE
)
&
Properties_AddPropSheetCallback
,
(
LPARAM
)
&
psh
);
SHAddFromPropSheetExtArray
(
hpsxa
,
Properties_AddPropSheetCallback
,
(
LPARAM
)
&
psh
);
SHDestroyPropSheetExtArray
(
hpsxa
);
}
IDataObject_Release
(
lpDo
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment