Bad indenting in bartruecenteredtitle.

This commit is contained in:
moonsabre 2025-03-15 00:59:58 -07:00
parent e3476de87f
commit 6526ab79a4

View File

@ -37,7 +37,7 @@ index ece537a..9eb816b 100644
- drwl_rect(m->drw, x + boxs, boxs, boxw, boxw, 0, 0);
+ drwl_rect(m->drw,
+ !centeredtitle || tw > w ? x + boxs : x + ((w - tw) / 2 - boxs * 8),
+ boxs, boxw, boxw, 0, 0);
boxs, boxw, boxw, 0, 0);
} else {
drwl_setscheme(m->drw, colors[SchemeNorm]);
drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1);