diff options
author | rsc <devnull@localhost> | 2007-03-25 17:32:16 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-03-25 17:32:16 +0000 |
commit | 8f57d0d0d9117936fb86d1ec182879c3b5a4f713 (patch) | |
tree | 24f225d3fcca29539d0d0d67347edc1809ca1d62 /src | |
parent | 3087c4fe19c21abe3c30dc058ff4c54846569719 (diff) | |
download | plan9port-8f57d0d0d9117936fb86d1ec182879c3b5a4f713.tar.gz plan9port-8f57d0d0d9117936fb86d1ec182879c3b5a4f713.tar.bz2 plan9port-8f57d0d0d9117936fb86d1ec182879c3b5a4f713.zip |
make Load more faithful to original Dump (Peter Canning)
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/acme/cols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acme/cols.c b/src/cmd/acme/cols.c index e2de4f4b..3ac780b1 100644 --- a/src/cmd/acme/cols.c +++ b/src/cmd/acme/cols.c @@ -87,7 +87,7 @@ fprint(2, "oops: dy=%d\n", Dy(v->body.all)); t = c->r.max.y; else t = c->w[i]->r.min.y-Border; - y = v->body.all.min.y+Dy(v->body.all)/2; + y = min(y, v->body.all.min.y+Dy(v->body.all)/2); if(t - y < minht) y = t - minht; if(y < v->body.all.min.y) |