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
97cde730
Commit
97cde730
authored
May 17, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
May 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Remove unix_ prefix from find_pagesize and find_slot functions.
parent
36a9bc82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
unixlib.c
dlls/wineps.drv/unixlib.c
+5
-5
No files found.
dlls/wineps.drv/unixlib.c
View file @
97cde730
...
...
@@ -307,7 +307,7 @@ static inline int paper_size_from_points(float size)
return
size
*
254
/
72
;
}
static
const
struct
input_slot
*
unix_
find_slot
(
const
struct
printer_info
*
pi
,
static
const
struct
input_slot
*
find_slot
(
const
struct
printer_info
*
pi
,
const
DEVMODEW
*
dm
)
{
const
struct
input_slot
*
slot
=
(
const
struct
input_slot
*
)
pi
->
devmode
->
data
;
...
...
@@ -321,7 +321,7 @@ static const struct input_slot *unix_find_slot(const struct printer_info *pi,
return
NULL
;
}
static
const
struct
page_size
*
unix_
find_pagesize
(
const
struct
printer_info
*
pi
,
static
const
struct
page_size
*
find_pagesize
(
const
struct
printer_info
*
pi
,
const
DEVMODEW
*
dm
)
{
const
struct
page_size
*
page
;
...
...
@@ -357,7 +357,7 @@ static void merge_devmodes(PSDRV_DEVMODE *dm1, const DEVMODEW *dm2,
/* NB PaperWidth is always < PaperLength */
if
(
dm2
->
dmFields
&
DM_PAPERSIZE
)
{
const
struct
page_size
*
page
=
unix_
find_pagesize
(
pi
,
dm2
);
const
struct
page_size
*
page
=
find_pagesize
(
pi
,
dm2
);
if
(
page
)
{
...
...
@@ -414,7 +414,7 @@ static void merge_devmodes(PSDRV_DEVMODE *dm1, const DEVMODEW *dm2,
if
(
dm2
->
dmFields
&
DM_DEFAULTSOURCE
)
{
const
struct
input_slot
*
slot
=
unix_
find_slot
(
pi
,
dm2
);
const
struct
input_slot
*
slot
=
find_slot
(
pi
,
dm2
);
if
(
slot
)
dm1
->
dmPublic
.
dmDefaultSource
=
dm2
->
dmDefaultSource
;
...
...
@@ -513,7 +513,7 @@ static void update_dev_caps(PSDRV_PDEVICE *pdev)
}
if
(
pdev
->
devmode
->
dmPublic
.
dmFields
&
DM_PAPERSIZE
)
{
page
=
unix_
find_pagesize
(
pdev
->
pi
,
&
pdev
->
devmode
->
dmPublic
);
page
=
find_pagesize
(
pdev
->
pi
,
&
pdev
->
devmode
->
dmPublic
);
if
(
!
page
)
{
...
...
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