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
87292bb3
Commit
87292bb3
authored
Jun 21, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Jun 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Always update the default devmode.
parent
5b71f7bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
init.c
dlls/wineps.drv/init.c
+2
-2
No files found.
dlls/wineps.drv/init.c
View file @
87292bb3
...
...
@@ -630,8 +630,6 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
dm
.
dmPublic
.
u1
.
s1
.
dmPaperSize
=
papersize
;
PSDRV_MergeDevmodes
(
pi
->
Devmode
,
&
dm
,
pi
);
}
set_devmode
(
hPrinter
,
pi
->
Devmode
);
}
if
(
pi
->
ppd
->
DefaultPageSize
)
{
/* We'll let the ppd override the devmode */
...
...
@@ -672,6 +670,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
pi
->
Devmode
->
dmPublic
.
dmDuplex
=
DMDUP_SIMPLEX
;
}
set_devmode
(
hPrinter
,
pi
->
Devmode
);
pi
->
FontSubTable
=
load_font_sub_table
(
hPrinter
,
&
pi
->
FontSubTableSize
);
LIST_FOR_EACH_ENTRY
(
font
,
&
pi
->
ppd
->
InstalledFonts
,
FONTNAME
,
entry
)
...
...
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