diff options
Diffstat (limited to 'src/cmd/svgpic')
-rw-r--r-- | src/cmd/svgpic/arcgen.c | 1 | ||||
-rw-r--r-- | src/cmd/svgpic/input.c | 2 | ||||
-rw-r--r-- | src/cmd/svgpic/linegen.c | 2 | ||||
-rw-r--r-- | src/cmd/svgpic/misc.c | 2 | ||||
-rw-r--r-- | src/cmd/svgpic/pic.h | 2 | ||||
-rw-r--r-- | src/cmd/svgpic/plsvg.c | 2 |
6 files changed, 5 insertions, 6 deletions
diff --git a/src/cmd/svgpic/arcgen.c b/src/cmd/svgpic/arcgen.c index bec41e47..4cb16957 100644 --- a/src/cmd/svgpic/arcgen.c +++ b/src/cmd/svgpic/arcgen.c @@ -221,4 +221,3 @@ quadrant(double x, double y) else if( x> 0.0 && y<=0.0) return(4); else return 0; /* shut up lint */ } - diff --git a/src/cmd/svgpic/input.c b/src/cmd/svgpic/input.c index a81f622e..92e8d62d 100644 --- a/src/cmd/svgpic/input.c +++ b/src/cmd/svgpic/input.c @@ -435,7 +435,7 @@ double errcheck(double x, char *s) return x; } -char errbuf[200]; +char errbuf[1000]; void eprint(void); diff --git a/src/cmd/svgpic/linegen.c b/src/cmd/svgpic/linegen.c index e0db5fc6..bc7e9335 100644 --- a/src/cmd/svgpic/linegen.c +++ b/src/cmd/svgpic/linegen.c @@ -225,7 +225,7 @@ obj *linegen(int type) extreme(ex, ey); nx = xi; ny = yi; } - + } p->o_ddval = ddval; if (dbg) { diff --git a/src/cmd/svgpic/misc.c b/src/cmd/svgpic/misc.c index e888fafc..1e2db1b5 100644 --- a/src/cmd/svgpic/misc.c +++ b/src/cmd/svgpic/misc.c @@ -34,7 +34,7 @@ curdir(void) /* convert current dir (hvmode) to RIGHT, LEFT, etc. */ return 0; } -double +double getcomp(obj *p, int t) /* return component of a position */ { switch (t) { diff --git a/src/cmd/svgpic/pic.h b/src/cmd/svgpic/pic.h index 928d38dd..cdaf71e5 100644 --- a/src/cmd/svgpic/pic.h +++ b/src/cmd/svgpic/pic.h @@ -9,7 +9,7 @@ extern void yyerror(char *); -extern char errbuf[200]; +extern char errbuf[1000]; #undef sprintf /* Snow Leopard */ diff --git a/src/cmd/svgpic/plsvg.c b/src/cmd/svgpic/plsvg.c index 7f6db9d4..575dc356 100644 --- a/src/cmd/svgpic/plsvg.c +++ b/src/cmd/svgpic/plsvg.c @@ -232,7 +232,7 @@ void arrow(double x0, double y0, double x1, double y1, double w, double h, if(i == 1) printf("M %.3f %.3f L %.3f %.3f", xconv(x1+dx), yconv(y1+dy), xconv(x1), yconv(y1)); else - printf(" L %.3f %.3f", xconv(x1+dx), yconv(y1+dy)); + printf(" L %.3f %.3f", xconv(x1+dx), yconv(y1+dy)); } if (nhead > 2) printf(" Z"); |