make Load more faithful to original Dump (Peter Canning)

This commit is contained in:
rsc 2007-03-25 17:32:16 +00:00
parent 3087c4fe19
commit 8f57d0d0d9

View file

@ -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)