From 4e5c00ea3887c131dc7fb48d660234cf132c7023 Mon Sep 17 00:00:00 2001 From: mrdotx Date: Fri, 30 Jul 2021 18:44:18 +0200 Subject: [PATCH] minor corrections --- pinentry-dmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinentry-dmenu.c b/pinentry-dmenu.c index f0fcc4c..2d630e2 100644 --- a/pinentry-dmenu.c +++ b/pinentry-dmenu.c @@ -272,7 +272,8 @@ drawwin(void) { drw_setscheme(drw, scheme[SchemeDesc]); if (center) { - drw_text(drw, 0, lineheight, centerwidth, bh, lrpad / 2, + drw_text(drw, ppromptw, lineheight, centerwidth, + bh + borderwidth, lrpad / 2, pinentry_info->description, 0); } else { drw_text(drw, pb, 0, pbw, bh, lrpad / 2, @@ -306,7 +307,6 @@ drawwin(void) { free(censort); } else { - x += TEXTW(" "); x = drawitem("No", (sel == No), x, 0, TEXTW("No")); x = drawitem("Yes", (sel == Yes), x, 0, TEXTW("Yes")); }