From 60eb3c9084d8663309f5a5735ec9b761b4fc69cf Mon Sep 17 00:00:00 2001 From: Blake Leverett Date: Fri, 23 Jan 2004 02:11:29 +0000 Subject: [PATCH] Printing a dashed line causes all later solid lines in postscript output to be dashed. --- dlls/wineps/ps.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dlls/wineps/ps.c b/dlls/wineps/ps.c index 32185386038..78433bb5ccf 100644 --- a/dlls/wineps/ps.c +++ b/dlls/wineps/ps.c @@ -517,10 +517,13 @@ BOOL PSDRV_WriteSetPen(PSDRV_PDEVICE *physDev) if(physDev->pen.dash) { sprintf(buf, pssetdash, physDev->pen.dash, 0); - PSDRV_WriteSpool(physDev, buf, strlen(buf)); } - - return TRUE; + else + sprintf(buf, pssetdash, "", 0); + + PSDRV_WriteSpool(physDev, buf, strlen(buf)); + + return TRUE; } BOOL PSDRV_WriteGlyphShow(PSDRV_PDEVICE *physDev, LPCSTR g_name) -- 2.11.4.GIT