Bad indenting in bartruecenteredtitle.

This commit is contained in:
moonsabre 2025-03-15 08:03:38 +00:00
parent 6526ab79a4
commit 5cf233eb6f

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, x + boxs, boxs, boxw, boxw, 0, 0);
+ drwl_rect(m->drw, + drwl_rect(m->drw,
+ !centeredtitle || tw > w ? x + boxs : x + ((w - tw) / 2 - boxs * 8), + !centeredtitle || tw > w ? x + boxs : x + ((w - tw) / 2 - boxs * 8),
boxs, boxw, boxw, 0, 0); + boxs, boxw, boxw, 0, 0);
} else { } else {
drwl_setscheme(m->drw, colors[SchemeNorm]); drwl_setscheme(m->drw, colors[SchemeNorm]);
drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1); drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1);