tmake Load more faithful to original Dump (Peter Canning) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8f57d0d0d9117936fb86d1ec182879c3b5a4f713
(DIR) parent 3087c4fe19c21abe3c30dc058ff4c54846569719
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 25 Mar 2007 17:32:16 +0000
make Load more faithful to original Dump (Peter Canning)
Diffstat:
M src/cmd/acme/cols.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/acme/cols.c b/src/cmd/acme/cols.c
t@@ -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)