diff options
| author | wkj <devnull@localhost> | 2004-05-16 07:56:41 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-16 07:56:41 +0000 |
| commit | 5f1cf8e6fb130fd48d6f016d13baf5408b3181f8 (patch) | |
| tree | 7f77f458df8c8b34db139fb4551df602ab6286be /src/cmd/pic/print.c | |
| parent | c5561c23cf394806cbf6d70a96f2dc0253f93745 (diff) | |
| download | plan9port-5f1cf8e6fb130fd48d6f016d13baf5408b3181f8.tar.gz plan9port-5f1cf8e6fb130fd48d6f016d13baf5408b3181f8.zip | |
Checkpoint: pull in mpm; merge pic from Taj's version of the world
Diffstat (limited to 'src/cmd/pic/print.c')
| -rw-r--r-- | src/cmd/pic/print.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/pic/print.c b/src/cmd/pic/print.c index ad21e0d7..6cf5103d 100644 --- a/src/cmd/pic/print.c +++ b/src/cmd/pic/print.c @@ -25,6 +25,8 @@ void print(void) int fill, vis, invis; double x0, y0, x1, y1, ox, oy, dx, dy, ndx, ndy; + x1 = y1 = 0.0; /* Botch? (gcc) */ + for (i = 0; i < nobj; i++) { p = objlist[i]; ox = p->o_x; @@ -180,6 +182,8 @@ void dotline(double x0, double y0, double x1, double y1, int ddtype, double ddva int i, numdots; double a, b, dx, dy; + b = 0.0; /* Botch? (gcc) */ + if (ddval == 0) ddval = prevval; prevval = ddval; |
