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
e42afe7d
Commit
e42afe7d
authored
Feb 26, 2024
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Return default resolution if PPD doesn't provide the list of supported resolutions.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
f42316c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
driver.c
dlls/wineps.drv/driver.c
+9
-0
No files found.
dlls/wineps.drv/driver.c
View file @
e42afe7d
...
@@ -703,6 +703,15 @@ DWORD WINAPI DrvDeviceCapabilities(HANDLE printer, WCHAR *device_name, WORD capa
...
@@ -703,6 +703,15 @@ DWORD WINAPI DrvDeviceCapabilities(HANDLE printer, WCHAR *device_name, WORD capa
lp
+=
2
;
lp
+=
2
;
}
}
}
}
if
(
!
i
)
{
if
(
output
!=
NULL
)
{
lp
[
0
]
=
pi
->
ppd
->
DefaultResolution
;
lp
[
1
]
=
pi
->
ppd
->
DefaultResolution
;
}
i
=
1
;
}
ret
=
i
;
ret
=
i
;
break
;
break
;
}
}
...
...
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