From 8f57d0d0d9117936fb86d1ec182879c3b5a4f713 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 25 Mar 2007 17:32:16 +0000 Subject: make Load more faithful to original Dump (Peter Canning) --- src/cmd/acme/cols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3