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
1cd551cd
Commit
1cd551cd
authored
Dec 17, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Update default DEVMODE to better indicate initialized fields.
parent
bdf14227
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
init.c
dlls/wineps.drv/init.c
+10
-9
No files found.
dlls/wineps.drv/init.c
View file @
1cd551cd
...
...
@@ -48,28 +48,29 @@ static const PSDRV_DEVMODE DefaultDevmode =
/* dmDriverVersion */
0x001
,
/* dmSize */
sizeof
(
DEVMODEW
),
/* dmDriverExtra */
sizeof
(
PSDRV_DEVMODE
)
-
sizeof
(
DEVMODEW
),
/* dmFields */
DM_ORIENTATION
|
DM_PAPERSIZE
|
DM_SCALE
|
DM_COPIES
|
DM_DEFAULTSOURCE
|
DM_COLOR
|
DM_YRESOLUTION
|
DM_TTOPTION
,
/* dmFields */
DM_ORIENTATION
|
DM_PAPERSIZE
|
DM_PAPERLENGTH
|
DM_PAPERWIDTH
|
DM_SCALE
|
DM_COPIES
|
DM_DEFAULTSOURCE
|
DM_PRINTQUALITY
|
DM_COLOR
|
DM_DUPLEX
|
DM_YRESOLUTION
|
DM_TTOPTION
|
DM_COLLATE
|
DM_FORMNAME
,
{
/* u1 */
{
/* s1 */
/* dmOrientation */
DMORIENT_PORTRAIT
,
/* dmPaperSize */
DMPAPER_LETTER
,
/* dmPaperLength */
2794
,
/* dmPaperWidth */
2159
,
/* dmScale */
100
,
/* ?? */
/* dmScale */
100
,
/* dmCopies */
1
,
/* dmDefaultSource */
DMBIN_AUTO
,
/* dmPrintQuality */
0
/* dmPrintQuality */
30
0
}
},
/* dmColor */
DMCOLOR_COLOR
,
/* dmDuplex */
DMDUP_SIMPLEX
,
/* dmYResolution */
0
,
/* dmYResolution */
30
0
,
/* dmTTOption */
DMTT_SUBDEV
,
/* dmCollate */
0
,
/* dmFormName */
{
},
/* dm
UnusedPadding */
0
,
/* dmCollate */
DMCOLLATE_FALSE
,
/* dmFormName */
{
'L'
,
'e'
,
't'
,
't'
,
'e'
,
'r'
,
0
},
/* dm
LogPixels */
0
,
/* dmBitsPerPel */
0
,
/* dmPelsWidth */
0
,
/* dmPelsHeight */
0
,
...
...
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