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
07f9f712
Commit
07f9f712
authored
Aug 02, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Use straight assignments instead of CopyRect().
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
da02140b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
combo.c
dlls/user32/combo.c
+1
-1
edit.c
dlls/user32/edit.c
+1
-1
sysparams.c
dlls/user32/sysparams.c
+2
-2
No files found.
dlls/user32/combo.c
View file @
07f9f712
...
...
@@ -777,7 +777,7 @@ static void CBPaintBorder(
}
else
{
CopyRect
(
&
clientRect
,
&
lphc
->
textRect
)
;
clientRect
=
lphc
->
textRect
;
InflateRect
(
&
clientRect
,
EDIT_CONTROL_PADDING
(),
EDIT_CONTROL_PADDING
());
InflateRect
(
&
clientRect
,
COMBO_XBORDERSIZE
(),
COMBO_YBORDERSIZE
());
...
...
dlls/user32/edit.c
View file @
07f9f712
...
...
@@ -4665,7 +4665,7 @@ LRESULT EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, B
case
EM_GETRECT
:
if
(
lParam
)
CopyRect
((
LPRECT
)
lParam
,
&
es
->
format_rect
)
;
*
((
LPRECT
)
lParam
)
=
es
->
format_rect
;
break
;
case
EM_SETRECT
:
...
...
dlls/user32/sysparams.c
View file @
07f9f712
...
...
@@ -1683,7 +1683,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
if
(
!
pvParam
)
return
FALSE
;
spi_idx
=
SPI_SETWORKAREA_IDX
;
CopyRect
(
&
work_area
,
pvParam
)
;
work_area
=
*
(
RECT
*
)
pvParam
;
spi_loaded
[
spi_idx
]
=
TRUE
;
ret
=
TRUE
;
break
;
...
...
@@ -1702,7 +1702,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
EnumDisplayMonitors
(
0
,
NULL
,
enum_monitors
,
(
LPARAM
)
&
work_area
);
spi_loaded
[
spi_idx
]
=
TRUE
;
}
CopyRect
(
pvParam
,
&
work_area
)
;
*
(
RECT
*
)
pvParam
=
work_area
;
ret
=
TRUE
;
TRACE
(
"work area %s
\n
"
,
wine_dbgstr_rect
(
&
work_area
));
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