minor corrections

This commit is contained in:
mrdotx 2021-07-30 18:44:18 +02:00
parent 6ccc752e44
commit 4e5c00ea38
No known key found for this signature in database
GPG Key ID: 433F70E636E6EB87

View File

@ -272,7 +272,8 @@ drawwin(void) {
drw_setscheme(drw, scheme[SchemeDesc]); drw_setscheme(drw, scheme[SchemeDesc]);
if (center) { 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); pinentry_info->description, 0);
} else { } else {
drw_text(drw, pb, 0, pbw, bh, lrpad / 2, drw_text(drw, pb, 0, pbw, bh, lrpad / 2,
@ -306,7 +307,6 @@ drawwin(void) {
free(censort); free(censort);
} else { } else {
x += TEXTW(" ");
x = drawitem("No", (sel == No), x, 0, TEXTW("No")); x = drawitem("No", (sel == No), x, 0, TEXTW("No"));
x = drawitem("Yes", (sel == Yes), x, 0, TEXTW("Yes")); x = drawitem("Yes", (sel == Yes), x, 0, TEXTW("Yes"));
} }