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
5917bd39
Commit
5917bd39
authored
Apr 10, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: SaveDC doesn't save the DC bounds.
parent
80f68d44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
dc.c
dlls/gdi32/dc.c
+0
-5
No files found.
dlls/gdi32/dc.c
View file @
5917bd39
...
@@ -336,7 +336,6 @@ INT nulldrv_SaveDC( PHYSDEV dev )
...
@@ -336,7 +336,6 @@ INT nulldrv_SaveDC( PHYSDEV dev )
DC
*
newdc
,
*
dc
=
get_nulldrv_dc
(
dev
);
DC
*
newdc
,
*
dc
=
get_nulldrv_dc
(
dev
);
if
(
!
(
newdc
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
newdc
))))
return
0
;
if
(
!
(
newdc
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
newdc
))))
return
0
;
newdc
->
flags
=
dc
->
flags
;
newdc
->
layout
=
dc
->
layout
;
newdc
->
layout
=
dc
->
layout
;
newdc
->
hPen
=
dc
->
hPen
;
newdc
->
hPen
=
dc
->
hPen
;
newdc
->
hBrush
=
dc
->
hBrush
;
newdc
->
hBrush
=
dc
->
hBrush
;
...
@@ -379,7 +378,6 @@ INT nulldrv_SaveDC( PHYSDEV dev )
...
@@ -379,7 +378,6 @@ INT nulldrv_SaveDC( PHYSDEV dev )
newdc
->
vportExtY
=
dc
->
vportExtY
;
newdc
->
vportExtY
=
dc
->
vportExtY
;
newdc
->
virtual_res
=
dc
->
virtual_res
;
newdc
->
virtual_res
=
dc
->
virtual_res
;
newdc
->
virtual_size
=
dc
->
virtual_size
;
newdc
->
virtual_size
=
dc
->
virtual_size
;
newdc
->
BoundsRect
=
dc
->
BoundsRect
;
newdc
->
gdiFont
=
dc
->
gdiFont
;
newdc
->
gdiFont
=
dc
->
gdiFont
;
/* Get/SetDCState() don't change hVisRgn field ("Undoc. Windows" p.559). */
/* Get/SetDCState() don't change hVisRgn field ("Undoc. Windows" p.559). */
...
@@ -428,7 +426,6 @@ BOOL nulldrv_RestoreDC( PHYSDEV dev, INT level )
...
@@ -428,7 +426,6 @@ BOOL nulldrv_RestoreDC( PHYSDEV dev, INT level )
if
(
!
PATH_RestorePath
(
dc
,
dcs
))
return
FALSE
;
if
(
!
PATH_RestorePath
(
dc
,
dcs
))
return
FALSE
;
dc
->
flags
=
dcs
->
flags
;
dc
->
layout
=
dcs
->
layout
;
dc
->
layout
=
dcs
->
layout
;
dc
->
hDevice
=
dcs
->
hDevice
;
dc
->
hDevice
=
dcs
->
hDevice
;
dc
->
ROPmode
=
dcs
->
ROPmode
;
dc
->
ROPmode
=
dcs
->
ROPmode
;
...
@@ -456,8 +453,6 @@ BOOL nulldrv_RestoreDC( PHYSDEV dev, INT level )
...
@@ -456,8 +453,6 @@ BOOL nulldrv_RestoreDC( PHYSDEV dev, INT level )
dc
->
xformWorld2Vport
=
dcs
->
xformWorld2Vport
;
dc
->
xformWorld2Vport
=
dcs
->
xformWorld2Vport
;
dc
->
xformVport2World
=
dcs
->
xformVport2World
;
dc
->
xformVport2World
=
dcs
->
xformVport2World
;
dc
->
vport2WorldValid
=
dcs
->
vport2WorldValid
;
dc
->
vport2WorldValid
=
dcs
->
vport2WorldValid
;
dc
->
BoundsRect
=
dcs
->
BoundsRect
;
dc
->
wndOrgX
=
dcs
->
wndOrgX
;
dc
->
wndOrgX
=
dcs
->
wndOrgX
;
dc
->
wndOrgY
=
dcs
->
wndOrgY
;
dc
->
wndOrgY
=
dcs
->
wndOrgY
;
dc
->
wndExtX
=
dcs
->
wndExtX
;
dc
->
wndExtX
=
dcs
->
wndExtX
;
...
...
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