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
db850cd7
Commit
db850cd7
authored
Dec 07, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use SetRect() instead of open coding it.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0f12fa1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
ebrowser.c
dlls/shell32/ebrowser.c
+3
-7
No files found.
dlls/shell32/ebrowser.c
View file @
db850cd7
...
...
@@ -314,9 +314,7 @@ static void update_layout(ExplorerBrowserImpl *This)
if
(
navpane_width_actual
)
{
This
->
navpane
.
rc
.
left
=
This
->
navpane
.
rc
.
top
=
0
;
This
->
navpane
.
rc
.
right
=
navpane_width_actual
;
This
->
navpane
.
rc
.
bottom
=
rc
.
bottom
;
SetRect
(
&
This
->
navpane
.
rc
,
0
,
0
,
navpane_width_actual
,
rc
.
bottom
);
if
(
!
This
->
navpane
.
hwnd_splitter
)
initialize_navpane
(
This
,
This
->
hwnd_main
,
&
This
->
navpane
.
rc
);
...
...
@@ -324,10 +322,8 @@ static void update_layout(ExplorerBrowserImpl *This)
else
ZeroMemory
(
&
This
->
navpane
.
rc
,
sizeof
(
RECT
));
This
->
sv_rc
.
left
=
navpane_width_actual
;
This
->
sv_rc
.
top
=
0
;
This
->
sv_rc
.
right
=
This
->
sv_rc
.
left
+
shellview_width_actual
;
This
->
sv_rc
.
bottom
=
rc
.
bottom
;
SetRect
(
&
This
->
sv_rc
,
navpane_width_actual
,
0
,
navpane_width_actual
+
shellview_width_actual
,
rc
.
bottom
);
}
static
void
size_panes
(
ExplorerBrowserImpl
*
This
)
...
...
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