Printing a dashed line causes all later solid lines in postscript
authorBlake Leverett <bleverett@att.net>
Fri, 23 Jan 2004 02:11:29 +0000 (02:11 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 23 Jan 2004 02:11:29 +0000 (02:11 +0000)
output to be dashed.

dlls/wineps/ps.c

index 32185386038f45e904999482408f01c09e047a5a..78433bb5ccf3869ce27f63a55498fd791e64b619 100644 (file)
@@ -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)