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
a6cb10bb
Commit
a6cb10bb
authored
May 15, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
May 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Don't pass PRINTERINFO structure to unixlib.
parent
351e58dc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
init.c
dlls/wineps.drv/init.c
+4
-1
unixlib.c
dlls/wineps.drv/unixlib.c
+0
-0
unixlib.h
dlls/wineps.drv/unixlib.h
+2
-3
No files found.
dlls/wineps.drv/init.c
View file @
a6cb10bb
...
...
@@ -902,7 +902,7 @@ fail:
const
struct
gdi_dc_funcs
*
CDECL
PSDRV_get_gdi_driver
(
unsigned
int
version
,
const
WCHAR
*
name
)
{
PRINTERINFO
*
pi
=
PSDRV_FindPrinterInfo
(
name
);
struct
init_dc_params
params
=
{
NULL
,
pi
,
pi
->
friendly_name
}
;
struct
init_dc_params
params
;
if
(
!
pi
)
return
NULL
;
...
...
@@ -911,6 +911,9 @@ const struct gdi_dc_funcs * CDECL PSDRV_get_gdi_driver( unsigned int version, co
ERR
(
"version mismatch, gdi32 wants %u but wineps has %u
\n
"
,
version
,
WINE_GDI_DRIVER_VERSION
);
return
NULL
;
}
params
.
name
=
pi
->
friendly_name
;
params
.
devmode
=
pi
->
Devmode
;
params
.
funcs
=
NULL
;
if
(
!
WINE_UNIX_CALL
(
unix_init_dc
,
&
params
))
return
FALSE
;
return
params
.
funcs
;
...
...
dlls/wineps.drv/unixlib.c
View file @
a6cb10bb
This diff is collapsed.
Click to expand it.
dlls/wineps.drv/unixlib.h
View file @
a6cb10bb
...
...
@@ -88,8 +88,7 @@ struct import_ntf_params
struct
init_dc_params
{
const
struct
gdi_dc_funcs
*
funcs
;
PRINTERINFO
*
pi
;
const
WCHAR
*
name
;
PSDRV_DEVMODE
*
devmode
;
const
struct
gdi_dc_funcs
*
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