Module: wine Branch: master Commit: a46ad829e43d70f405c86a948e6a05dabae55b0f URL: http://source.winehq.org/git/wine.git/?a=commit;h=a46ad829e43d70f405c86a948e... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Fri Feb 23 16:22:04 2007 +0000 wineps.drv: Constify some variables. --- dlls/wineps.drv/init.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c index 8ec88b5..1bd56ca 100644 --- a/dlls/wineps.drv/init.c +++ b/dlls/wineps.drv/init.c @@ -53,7 +53,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(psdrv); static void *cupshandle = NULL; #endif -static PSDRV_DEVMODEA DefaultDevmode = +static const PSDRV_DEVMODEA DefaultDevmode = { { /* dmPublic */ /* dmDeviceName */ "Wine PostScript Driver", @@ -109,7 +109,7 @@ HINSTANCE PSDRV_hInstance = 0; HANDLE PSDRV_Heap = 0; static HFONT PSDRV_DefaultFont = 0; -static LOGFONTA DefaultLogFont = { +static const LOGFONTA DefaultLogFont = { 100, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET, 0, 0, DEFAULT_QUALITY, FIXED_PITCH | FF_MODERN, "" };