Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
414c3336
Commit
414c3336
authored
Jul 10, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Write-strings warning fix.
parent
ee9b18f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
shlview.c
dlls/shell32/shlview.c
+5
-3
No files found.
dlls/shell32/shlview.c
View file @
414c3336
...
...
@@ -779,19 +779,21 @@ static void ShellView_MergeFileMenu(IShellViewImpl * This, HMENU hSubMenu)
*/
static
void
ShellView_MergeViewMenu
(
IShellViewImpl
*
This
,
HMENU
hSubMenu
)
{
MENUITEMINFOA
mii
;
{
TRACE
(
"(%p)->(submenu=%p)
\n
"
,
This
,
hSubMenu
);
if
(
hSubMenu
)
{
/*add a separator at the correct position in the menu*/
MENUITEMINFOA
mii
;
static
char
view
[]
=
"View"
;
_InsertMenuItem
(
hSubMenu
,
FCIDM_MENU_VIEW_SEP_OPTIONS
,
FALSE
,
0
,
MFT_SEPARATOR
,
NULL
,
MFS_ENABLED
);
ZeroMemory
(
&
mii
,
sizeof
(
mii
));
mii
.
cbSize
=
sizeof
(
mii
);
mii
.
fMask
=
MIIM_SUBMENU
|
MIIM_TYPE
|
MIIM_DATA
;
mii
.
fType
=
MFT_STRING
;
mii
.
dwTypeData
=
"View"
;
mii
.
dwTypeData
=
view
;
mii
.
hSubMenu
=
LoadMenuA
(
shell32_hInstance
,
"MENU_001"
);
InsertMenuItemA
(
hSubMenu
,
FCIDM_MENU_VIEW_SEP_OPTIONS
,
FALSE
,
&
mii
);
}
...
...
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