aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakokshar@redhat.com <akokshar@redhat.com>2017-08-29 15:55:30 +0200
committerakokshar@redhat.com <akokshar@redhat.com>2017-08-29 15:55:30 +0200
commitd873d09f23180414fc0475b3893570a514efb0e0 (patch)
treeeb1f5fb4740a578ae999ec01bba1732419eabe8b
parent65022e1cbf0ccf8764dcef7e2a738feb3331deeb (diff)
style fixes
-rw-r--r--swaybar/status_line.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/swaybar/status_line.c b/swaybar/status_line.c
index f0888273..f3bb3013 100644
--- a/swaybar/status_line.c
+++ b/swaybar/status_line.c
@@ -410,8 +410,7 @@ bool status_line_mouse_event(struct bar *bar, int x, int y, uint32_t button) {
if (num_blocks == 0) {
return false;
- }
- else {
+ } else {
current_block = bar->status->block_line->items[0];
if (x < current_block->x) {
return false;