aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/svgpic
diff options
context:
space:
mode:
authorDan Cross <cross@gajendra.net>2020-01-10 14:44:21 +0000
committerDan Cross <cross@gajendra.net>2020-01-10 14:54:30 +0000
commitfa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch)
tree81d26256d152435135bcb1ae43121979a49f5f2b /src/cmd/svgpic
parent77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff)
downloadplan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz
plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2
plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src/cmd/svgpic')
-rw-r--r--src/cmd/svgpic/arcgen.c1
-rw-r--r--src/cmd/svgpic/linegen.c2
-rw-r--r--src/cmd/svgpic/misc.c2
-rw-r--r--src/cmd/svgpic/plsvg.c2
4 files changed, 3 insertions, 4 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/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/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");