Fix dashed/solid line in Postscript output

Alexandre Julliard julliard at winehq.org
Tue Jan 20 19:58:51 CST 2004


Blake Leverett <bleverett at att.net> writes:

> Index: dlls/wineps/ps.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/wineps/ps.c,v
> retrieving revision 1.23
> diff -u -r1.23 ps.c
> --- dlls/wineps/ps.c	8 Dec 2003 21:40:27 -0000	1.23
> +++ dlls/wineps/ps.c	16 Jan 2004 05:26:55 -0000
> @@ -508,6 +508,7 @@
>  BOOL PSDRV_WriteSetPen(PSDRV_PDEVICE *physDev)
>  {
>      char buf[256];
> +    static char *last_dash = NULL;

You can't use a static variable here, this would need to be stored in
the device structure. But it's probably easier to always set the dash
style unconditionally.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list