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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
clipping.c
objects/clipping.c
+2
-2
No files found.
objects/clipping.c
View file @
d0642b53
...
@@ -475,7 +475,7 @@ BOOL WINAPI RectVisible( HDC hdc, const RECT* rect )
...
@@ -475,7 +475,7 @@ BOOL WINAPI RectVisible( HDC hdc, const RECT* rect )
INT16
WINAPI
GetClipBox16
(
HDC16
hdc
,
LPRECT16
rect
)
INT16
WINAPI
GetClipBox16
(
HDC16
hdc
,
LPRECT16
rect
)
{
{
int
ret
;
int
ret
;
DC
*
dc
=
DC_GetDC
Ptr
(
hdc
);
DC
*
dc
=
DC_GetDC
Update
(
hdc
);
if
(
!
dc
)
return
ERROR
;
if
(
!
dc
)
return
ERROR
;
ret
=
GetRgnBox16
(
dc
->
hGCClipRgn
,
rect
);
ret
=
GetRgnBox16
(
dc
->
hGCClipRgn
,
rect
);
rect
->
left
-=
dc
->
DCOrgX
;
rect
->
left
-=
dc
->
DCOrgX
;
...
@@ -495,7 +495,7 @@ INT16 WINAPI GetClipBox16( HDC16 hdc, LPRECT16 rect )
...
@@ -495,7 +495,7 @@ INT16 WINAPI GetClipBox16( HDC16 hdc, LPRECT16 rect )
INT
WINAPI
GetClipBox
(
HDC
hdc
,
LPRECT
rect
)
INT
WINAPI
GetClipBox
(
HDC
hdc
,
LPRECT
rect
)
{
{
INT
ret
;
INT
ret
;
DC
*
dc
=
DC_GetDC
Ptr
(
hdc
);
DC
*
dc
=
DC_GetDC
Update
(
hdc
);
if
(
!
dc
)
return
ERROR
;
if
(
!
dc
)
return
ERROR
;
ret
=
GetRgnBox
(
dc
->
hGCClipRgn
,
rect
);
ret
=
GetRgnBox
(
dc
->
hGCClipRgn
,
rect
);
rect
->
left
-=
dc
->
DCOrgX
;
rect
->
left
-=
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