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
f394970e
Commit
f394970e
authored
Nov 21, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Constify some variables.
parent
361a98c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
menu.c
dlls/user32/menu.c
+3
-3
No files found.
dlls/user32/menu.c
View file @
f394970e
...
...
@@ -216,7 +216,7 @@ const struct builtin_class_descr MENU_builtin_class =
if (flags & (bit)) { flags &= ~(bit); MENUOUT ((text)); } \
} while (0)
static
void
do_debug_print_menuitem
(
const
char
*
prefix
,
MENUITEM
*
mp
,
static
void
do_debug_print_menuitem
(
const
char
*
prefix
,
const
MENUITEM
*
mp
,
const
char
*
postfix
)
{
static
const
char
*
const
hbmmenus
[]
=
{
"HBMMENU_CALLBACK"
,
""
,
"HBMMENU_SYSTEM"
,
...
...
@@ -1095,7 +1095,7 @@ static void MENU_CalcItemSize( HDC hdc, MENUITEM *lpitem, HWND hwndOwner,
* MENU_GetMaxPopupHeight
*/
static
UINT
MENU_GetMaxPopupHeight
(
LPPOPUPMENU
lppop
)
MENU_GetMaxPopupHeight
(
const
POPUPMENU
*
lppop
)
{
if
(
lppop
->
cyMax
)
return
lppop
->
cyMax
;
...
...
@@ -1268,7 +1268,7 @@ static void MENU_MenuBarCalcSize( HDC hdc, LPRECT lprect,
* Draw scroll arrows.
*/
static
void
MENU_DrawScrollArrows
(
LPPOPUPMENU
lppop
,
HDC
hdc
)
MENU_DrawScrollArrows
(
const
POPUPMENU
*
lppop
,
HDC
hdc
)
{
HDC
hdcMem
=
CreateCompatibleDC
(
hdc
);
HBITMAP
hOrigBitmap
;
...
...
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