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
d77f0ae7
Commit
d77f0ae7
authored
Dec 16, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Inherit the device mode from the source DC when creating a compatible DC.
parent
5f1f57ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
init.c
dlls/wineps.drv/init.c
+1
-0
No files found.
dlls/wineps.drv/init.c
View file @
d77f0ae7
...
...
@@ -385,6 +385,7 @@ static BOOL PSDRV_CreateCompatibleDC( PHYSDEV orig, PHYSDEV *pdev )
if
(
!
pi
)
return
FALSE
;
if
(
!
(
physDev
=
create_psdrv_physdev
(
pi
)))
return
FALSE
;
PSDRV_MergeDevmodes
(
physDev
->
Devmode
,
orig_dev
->
Devmode
,
pi
);
PSDRV_UpdateDevCaps
(
physDev
);
SelectObject
(
hdc
,
PSDRV_DefaultFont
);
push_dc_driver
(
pdev
,
&
physDev
->
dev
,
&
psdrv_funcs
);
...
...
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