diff options
author | akokshar@redhat.com <akokshar@redhat.com> | 2017-08-29 17:33:06 +0200 |
---|---|---|
committer | akokshar@redhat.com <akokshar@redhat.com> | 2017-08-29 17:33:06 +0200 |
commit | 39df3aed821d32644780df2875390a259941e353 (patch) | |
tree | 00318aed922c41f114f9b1ae39bcf167929c3bed /swaybar/render.c | |
parent | style fixes (diff) | |
download | sway-39df3aed821d32644780df2875390a259941e353.tar.gz sway-39df3aed821d32644780df2875390a259941e353.tar.zst sway-39df3aed821d32644780df2875390a259941e353.zip |
styling fixes
Diffstat (limited to 'swaybar/render.c')
-rw-r--r-- | swaybar/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/render.c b/swaybar/render.c index 232d254b..6fc09078 100644 --- a/swaybar/render.c +++ b/swaybar/render.c | |||
@@ -94,8 +94,8 @@ static void render_block(struct window *window, struct config *config, struct st | |||
94 | 94 | ||
95 | double pos = *x; | 95 | double pos = *x; |
96 | 96 | ||
97 | block->x = (int) pos; | 97 | block->x = (int)pos; |
98 | block->width = (int) block_width; | 98 | block->width = (int)block_width; |
99 | 99 | ||
100 | // render background | 100 | // render background |
101 | if (block->background != 0x0) { | 101 | if (block->background != 0x0) { |