Commit 1cccaa1e authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Mark default DEVMODE const.

parent 97cde730
......@@ -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;
......
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment