Browse code

fixed an issue with compilation error on Ubuntu 12.04; see NEWS for details.

Kasper Daniel Hansen authored on 28/04/2014 02:23:33
Showing1 changed files

1 1
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+diff --git a/src/graphviz/lib/ortho/ortho.c b/src/graphviz/lib/ortho/ortho.c
2
+index a5c63f0..cc20fd6 100644
3
+--- a/src/graphviz/lib/ortho/ortho.c
4
+@@ -1520,7 +1520,7 @@ emitGraph (FILE* fp, maze* mp, int n_edges, route* route_list, epair_t es[])
5
+     absbb.LL.x = absbb.LL.y = MAXDOUBLE;
6
+     absbb.UR.x = absbb.UR.y = -MAXDOUBLE;
7
+ 
8
+-    fprintf (fp, prolog2);
9
++    fprintf (fp, "%s", prolog2);
10
+     fprintf (fp, "%d %d translate\n", TRANS, TRANS);
11
+ 
12
+     fputs ("0 0 1 setrgbcolor\n", fp);