Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1cccaa1e
Commit
1cccaa1e
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: Mark default DEVMODE const.
parent
97cde730
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
unixlib.c
dlls/wineps.drv/unixlib.c
+4
-4
unixlib.h
dlls/wineps.drv/unixlib.h
+1
-1
No files found.
dlls/wineps.drv/unixlib.c
View file @
1cccaa1e
...
...
@@ -75,7 +75,7 @@ struct printer_info
{
struct
list
entry
;
const
WCHAR
*
name
;
PSDRV_DEVMODE
*
devmode
;
const
PSDRV_DEVMODE
*
devmode
;
};
static
struct
list
printer_info_list
=
LIST_INIT
(
printer_info_list
);
...
...
@@ -91,7 +91,7 @@ typedef struct
{
struct
gdi_physdev
dev
;
PSDRV_DEVMODE
*
devmode
;
struct
printer_info
*
pi
;
const
struct
printer_info
*
pi
;
/* builtin font info */
BOOL
builtin
;
...
...
@@ -339,7 +339,7 @@ static const struct page_size *find_pagesize(const struct printer_info *pi,
}
static
void
merge_devmodes
(
PSDRV_DEVMODE
*
dm1
,
const
DEVMODEW
*
dm2
,
struct
printer_info
*
pi
)
const
struct
printer_info
*
pi
)
{
/* some sanity checks here on dm2 */
...
...
@@ -1008,7 +1008,7 @@ static struct font_data *find_font_data(const char *name)
return
NULL
;
}
static
struct
font_data
*
find_builtin_font
(
PSDRV_DEVMODE
*
devmode
,
static
struct
font_data
*
find_builtin_font
(
const
PSDRV_DEVMODE
*
devmode
,
const
WCHAR
*
facename
,
BOOL
it
,
BOOL
bd
)
{
struct
installed_font
*
installed_font
;
...
...
dlls/wineps.drv/unixlib.h
View file @
1cccaa1e
...
...
@@ -107,7 +107,7 @@ struct open_dc_params
const
WCHAR
*
device
;
const
DEVMODEW
*
devmode
;
const
WCHAR
*
output
;
PSDRV_DEVMODE
*
def_devmode
;
const
PSDRV_DEVMODE
*
def_devmode
;
HDC
hdc
;
};
...
...
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