aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 5c65148..167a1c4 100644
--- a/view.c
+++ b/view.c
@@ -99,7 +99,7 @@ dotile(void) {
c->x += mpx;
c->w = stackw - 2 * BORDERPX;
if(th > bh) {
- c->y = way + (i - 1) * th;
+ c->y += (i - 1) * th;
c->h = th - 2 * BORDERPX;
}
else /* fallback if th < bh */