mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 09:44:21 +00:00
Bad indenting in bartruecenteredtitle.
This commit is contained in:
parent
6526ab79a4
commit
5cf233eb6f
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user