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
887b445b
Commit
887b445b
authored
Mar 08, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Use SetRectEmpty() instead of open coding it.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a58822db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
winefile.c
programs/winefile/winefile.c
+2
-8
No files found.
programs/winefile/winefile.c
View file @
887b445b
...
...
@@ -2417,10 +2417,7 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
dis
.
itemState
=
0
;
dis
.
hwndItem
=
pane
->
hwnd
;
dis
.
hDC
=
hdc
;
dis
.
rcItem
.
left
=
0
;
dis
.
rcItem
.
top
=
0
;
dis
.
rcItem
.
right
=
0
;
dis
.
rcItem
.
bottom
=
0
;
SetRectEmpty
(
&
dis
.
rcItem
);
/*dis.itemData = 0; */
draw_item
(
pane
,
&
dis
,
entry
,
COLUMNS
);
...
...
@@ -2493,10 +2490,7 @@ static void calc_single_width(Pane* pane, int col)
dis
.
itemState
=
0
;
dis
.
hwndItem
=
pane
->
hwnd
;
dis
.
hDC
=
hdc
;
dis
.
rcItem
.
left
=
0
;
dis
.
rcItem
.
top
=
0
;
dis
.
rcItem
.
right
=
0
;
dis
.
rcItem
.
bottom
=
0
;
SetRectEmpty
(
&
dis
.
rcItem
);
/*dis.itemData = 0; */
draw_item
(
pane
,
&
dis
,
entry
,
col
);
...
...
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