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
d0642b53
Commit
d0642b53
authored
Dec 26, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the DC visible region is updated in GetClipBox.
parent
48957684
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
clipping.c
objects/clipping.c
+4
-4
No files found.
objects/clipping.c
View file @
d0642b53
...
...
@@ -475,8 +475,8 @@ BOOL WINAPI RectVisible( HDC hdc, const RECT* rect )
INT16
WINAPI
GetClipBox16
(
HDC16
hdc
,
LPRECT16
rect
)
{
int
ret
;
DC
*
dc
=
DC_GetDC
Ptr
(
hdc
);
if
(
!
dc
)
return
ERROR
;
DC
*
dc
=
DC_GetDC
Update
(
hdc
);
if
(
!
dc
)
return
ERROR
;
ret
=
GetRgnBox16
(
dc
->
hGCClipRgn
,
rect
);
rect
->
left
-=
dc
->
DCOrgX
;
rect
->
right
-=
dc
->
DCOrgX
;
...
...
@@ -495,8 +495,8 @@ INT16 WINAPI GetClipBox16( HDC16 hdc, LPRECT16 rect )
INT
WINAPI
GetClipBox
(
HDC
hdc
,
LPRECT
rect
)
{
INT
ret
;
DC
*
dc
=
DC_GetDC
Ptr
(
hdc
);
if
(
!
dc
)
return
ERROR
;
DC
*
dc
=
DC_GetDC
Update
(
hdc
);
if
(
!
dc
)
return
ERROR
;
ret
=
GetRgnBox
(
dc
->
hGCClipRgn
,
rect
);
rect
->
left
-=
dc
->
DCOrgX
;
rect
->
right
-=
dc
->
DCOrgX
;
...
...
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