aboutsummaryrefslogtreecommitdiff
path: root/swaybar/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/render.c')
-rw-r--r--swaybar/render.c4
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
double pos = *x;
- block->x = (int) pos;
- block->width = (int) block_width;
+ block->x = (int)pos;
+ block->width = (int)block_width;
// render background
if (block->background != 0x0) {