diff options
-rw-r--r-- | helplink.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -51,10 +51,9 @@ static void helplink_getrect(t_gobj *z, t_glist *glist, } else width = height = 10; x1 = text_xpix((t_text *)x, glist); - y1 = text_ypix((t_text *)x, glist); + y1 = text_ypix((t_text *)x, glist) + 1; x2 = x1 + width; - y2 = y1 + height; - y1 += 1; + y2 = y1 + height + 1; *xp1 = x1; *yp1 = y1; *xp2 = x2; |