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
ac8e7528
Commit
ac8e7528
authored
Jan 15, 2003
by
Mike Hearn
Committed by
Alexandre Julliard
Jan 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fail SetMenuItemInfo if both MFT_BITMAP and MFT_SEPARATOR are
specified (an api violation).
parent
8780853a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
menu.c
controls/menu.c
+7
-2
No files found.
controls/menu.c
View file @
ac8e7528
...
...
@@ -4278,8 +4278,13 @@ BOOL WINAPI SetMenuItemInfoA(HMENU hmenu, UINT item, BOOL bypos,
/* QuickTime does pass invalid data into SetMenuItemInfo.
* do some of the checks Windows does.
*/
WARN
(
"Bad masks for type (0x%08x) or state (0x%08x)
\n
"
,
lpmii
->
fType
,
lpmii
->
fState
);
WARN
(
"Bad masks (0x%08x) for type (0x%08x) or state (0x%08x)
\n
"
,
lpmii
->
fMask
,
lpmii
->
fType
,
lpmii
->
fState
);
}
/* is the app setting both MFT_BITMAP and MFT_SEPARATOR (which is wrong)? */
if
(
lpmii
->
fType
&
(
MFT_BITMAP
|
MFT_SEPARATOR
))
{
WARN
(
"fType contains MFT_BITMAP and MFT_SEPARATOR, API violation
\n
"
);
return
FALSE
;
}
...
...
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