aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruss morris <russ@infocyte.com>2018-07-10 20:57:05 -0700
committerruss morris <russ@infocyte.com>2018-07-10 20:57:05 -0700
commit6ae1004cd16096fec1e94e26eb42b5251ab46ebb (patch)
treee1e3e13fde06961fe1095856cf3c1e2457570c5d
parentc06266e12d2eb14e54da665b966dd1f7618dd123 (diff)
removed unnecessary parens
-rw-r--r--sway/desktop/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index 5aec49b5..28c81942 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -631,7 +631,7 @@ static void render_container_tabbed(struct sway_output *output,
// Make last tab use the remaining width of the parent
if (i == pstate->children->length - 1) {
tab_width =
- (pstate->swayc_width - width_gap_adjustment) - tab_width * i;
+ pstate->swayc_width - width_gap_adjustment - tab_width * i;
}
render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width,