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
816df88a
Commit
816df88a
authored
Apr 21, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
69f6493a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shlmenu.c
dlls/shell32/shlmenu.c
+3
-3
No files found.
dlls/shell32/shlmenu.c
View file @
816df88a
...
...
@@ -633,7 +633,7 @@ LRESULT WINAPI FileMenu_DrawItem(
Shell_GetImageLists
(
0
,
&
hImageList
);
ImageList_Draw
(
hImageList
,
pMyItem
->
iIconIndex
,
lpdis
->
hDC
,
xi
,
yi
,
ILD_NORMAL
);
TRACE
(
"-- 0x%04x 0x%04x 0x%04x 0x%04x
\n
"
,
TextRect
.
left
,
TextRect
.
top
,
TextRect
.
right
,
TextRect
.
bottom
);
TRACE
(
"-- %s
\n
"
,
wine_dbgstr_rect
(
&
TextRect
)
);
SetTextColor
(
lpdis
->
hDC
,
clrPrevText
);
SetBkColor
(
lpdis
->
hDC
,
clrPrevBkgnd
);
...
...
@@ -794,8 +794,8 @@ DWORD WINAPI FileMenu_GetItemExtent (HMENU hMenu, UINT uPos)
FIXME
(
"%p 0x%08x
\n
"
,
hMenu
,
uPos
);
if
(
GetMenuItemRect
(
0
,
hMenu
,
uPos
,
&
rect
))
{
FIXME
(
"0x%04x 0x%04x 0x%04x 0x%04x
\n
"
,
rect
.
right
,
rect
.
left
,
rect
.
top
,
rect
.
bottom
);
{
FIXME
(
"%s
\n
"
,
wine_dbgstr_rect
(
&
rect
)
);
return
((
rect
.
right
-
rect
.
left
)
<<
16
)
+
(
rect
.
top
-
rect
.
bottom
);
}
return
0x00100010
;
/*FIXME*/
...
...
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