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
e13011f6
Commit
e13011f6
authored
Jul 19, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Simplify a RECT copy.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
07ada9a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
listbox.c
dlls/user32/listbox.c
+3
-7
No files found.
dlls/user32/listbox.c
View file @
e13011f6
...
...
@@ -1059,14 +1059,10 @@ static LRESULT LISTBOX_Paint( LB_DESCR *descr, HDC hdc )
else
rect
.
bottom
=
rect
.
top
+
descr
->
items
[
i
].
height
;
/* keep the focus rect, to paint the focus item after */
if
(
i
==
descr
->
focus_item
)
{
/* keep the focus rect, to paint the focus item after */
focusRect
.
left
=
rect
.
left
;
focusRect
.
right
=
rect
.
right
;
focusRect
.
top
=
rect
.
top
;
focusRect
.
bottom
=
rect
.
bottom
;
}
focusRect
=
rect
;
LISTBOX_PaintItem
(
descr
,
hdc
,
&
rect
,
i
,
ODA_DRAWENTIRE
,
TRUE
);
rect
.
top
=
rect
.
bottom
;
...
...
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