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
e3bd659b
Commit
e3bd659b
authored
Jun 21, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Simplify RECT assignments.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0183cd17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
atl_ax.c
dlls/atl/atl_ax.c
+2
-4
No files found.
dlls/atl/atl_ax.c
View file @
e3bd659b
...
@@ -827,7 +827,7 @@ static void IOCS_OnSize( IOCS* This, LPCRECT rect )
...
@@ -827,7 +827,7 @@ static void IOCS_OnSize( IOCS* This, LPCRECT rect )
{
{
SIZEL
inPix
,
inHi
;
SIZEL
inPix
,
inHi
;
This
->
size
.
left
=
rect
->
left
;
This
->
size
.
right
=
rect
->
right
;
This
->
size
.
top
=
rect
->
top
;
This
->
size
.
bottom
=
rect
->
bottom
;
This
->
size
=
*
rect
;
if
(
!
This
->
control
)
if
(
!
This
->
control
)
return
;
return
;
...
@@ -890,9 +890,7 @@ static LRESULT IOCS_OnWndProc( IOCS *This, HWND hWnd, UINT uMsg, WPARAM wParam,
...
@@ -890,9 +890,7 @@ static LRESULT IOCS_OnWndProc( IOCS *This, HWND hWnd, UINT uMsg, WPARAM wParam,
case
WM_SIZE
:
case
WM_SIZE
:
{
{
RECT
r
;
RECT
r
;
r
.
left
=
r
.
top
=
0
;
SetRect
(
&
r
,
0
,
0
,
LOWORD
(
lParam
),
HIWORD
(
lParam
));
r
.
right
=
LOWORD
(
lParam
);
r
.
bottom
=
HIWORD
(
lParam
);
IOCS_OnSize
(
This
,
&
r
);
IOCS_OnSize
(
This
,
&
r
);
}
}
break
;
break
;
...
...
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