diff --git a/clients/labnag.c b/clients/labnag.c index 82b6e8cd..5abd989e 100644 --- a/clients/labnag.c +++ b/clients/labnag.c @@ -447,7 +447,7 @@ render_button(cairo_t *cairo, struct nag *nag, struct button *button, } button->x = *x - border - text_width - padding * 2 + 1; - button->y = (int)(ideal_height - text_height) / 2 - padding + 1; + button->y = (int)(ideal_height - text_height) / 2 - padding; button->width = text_width + padding * 2; button->height = text_height + padding * 2;