diff options
Diffstat (limited to 'src/cmd')
-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) |