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
7040cf17
Commit
7040cf17
authored
Jul 09, 2022
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Fix the spelling of a variable name.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
parent
15831e0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
menu.c
dlls/win32u/menu.c
+3
-3
No files found.
dlls/win32u/menu.c
View file @
7040cf17
...
...
@@ -159,7 +159,7 @@ static HMENU top_popup_hmenu;
static
BOOL
exit_menu
=
FALSE
;
static
SIZE
menucharsize
;
static
UINT
od_item_hight
;
/* default owner drawn item height */
static
UINT
od_item_h
e
ight
;
/* default owner drawn item height */
/**********************************************************************
* NtUserCopyAcceleratorTable (win32u.@)
...
...
@@ -1986,7 +1986,7 @@ static void calc_menu_item_size( HDC hdc, struct menu_item *item, HWND owner, IN
menucharsize
.
cx
=
get_char_dimensions
(
hdc
,
NULL
,
&
menucharsize
.
cy
);
/* Win95/98/ME will use menucharsize.cy here. Testing is possible
* but it is unlikely an application will depend on that */
od_item_hight
=
HIWORD
(
get_dialog_base_units
()
);
od_item_h
e
ight
=
HIWORD
(
get_dialog_base_units
()
);
}
SetRect
(
&
item
->
rect
,
org_x
,
org_y
,
org_x
,
org_y
);
...
...
@@ -1998,7 +1998,7 @@ static void calc_menu_item_size( HDC hdc, struct menu_item *item, HWND owner, IN
mis
.
CtlID
=
0
;
mis
.
itemID
=
item
->
wID
;
mis
.
itemData
=
item
->
dwItemData
;
mis
.
itemHeight
=
od_item_hight
;
mis
.
itemHeight
=
od_item_h
e
ight
;
mis
.
itemWidth
=
0
;
send_message
(
owner
,
WM_MEASUREITEM
,
0
,
(
LPARAM
)
&
mis
);
/* Tests reveal that Windows ( Win95 through WinXP) adds twice the average
...
...
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