Shortened another statement
parent
8f2766dc09
commit
cdeb1f8c7a
|
|
@ -233,8 +233,8 @@ void bar_title_render(Bar* bar, cairo_t* painter, int* x) {
|
||||||
if (!bar->floating)
|
if (!bar->floating)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
int boxHeight = bar_font.height / 9;
|
int boxHeight = bar_font.height / 9,
|
||||||
int boxWidth = bar_font.height / 6 + 1;
|
boxWidth = bar_font.height / 6 + 1;
|
||||||
|
|
||||||
set_color(painter, grey3);
|
set_color(painter, grey3);
|
||||||
cairo_rectangle(painter, *x + boxHeight + 0.5, boxHeight + 0.5, boxWidth, boxWidth);
|
cairo_rectangle(painter, *x + boxHeight + 0.5, boxHeight + 0.5, boxWidth, boxWidth);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue