diff options
Diffstat (limited to 'libtk/utils.c')
| -rw-r--r-- | libtk/utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libtk/utils.c b/libtk/utils.c index 52b7181d..5e7030d3 100644 --- a/libtk/utils.c +++ b/libtk/utils.c @@ -929,7 +929,6 @@ tkulall(Image *i, Point o, Image *col, Font *f, char *text) r.max = addpt(r.max, o); r.min.x = o.x; r.min.y = r.max.y - 1; - r.max.y += 1; draw(i, r, col, nil, ZP); } @@ -948,7 +947,7 @@ tkul(Image *i, Point o, Image *col, int ul, Font *f, char *text) *v = c; r.min.x = r.max.x - r.min.x; r.min.y = r.max.y - 1; - r.max.y += 2; + r.max.y++; draw(i, r, col, nil, ZP); } |
