File: 20_svg_attribute_syntax

package info (click to toggle)
plotutils 2.6-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,184 kB
  • sloc: ansic: 68,670; sh: 20,086; cpp: 12,382; yacc: 2,588; makefile: 838; lex: 137
file content (20 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: SVG attribute syntax fix
 This patch fixes a syntax error connected with SVG XML attributes.
 See also the original report by the pstoedit upstream maintainer at
 http://lists.opensuse.org/opensuse-bugs/2009-01/msg04905.html
 and the respective pstoedit bug in Debian:
 http://bugs.debian.org/506086
 .
Author: Roland Stigge <stigge@antcom.de>

--- plotutils-2.6.orig/libplot/s_path.c
+++ plotutils-2.6/libplot/s_path.c
@@ -717,7 +717,7 @@ write_svg_path_style (plOutbuf *page, co
 	    {
 	      sprintf (page->point, "%.5g%s",
 		       dashbuf[i],
-		       i < num_dashes - 1 ? ", " : "\"");
+		       i < num_dashes - 1 ? ", " : "\" ");
 	      _update_buffer (page);
 	    }