JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Szabolcs Nagy's patch (thank you!)
authorarg@mig29 <unknown>
Mon, 27 Nov 2006 16:46:02 +0000 (17:46 +0100)
committerarg@mig29 <unknown>
Mon, 27 Nov 2006 16:46:02 +0000 (17:46 +0100)
view.c

diff --git a/view.c b/view.c
index 5c65148..167a1c4 100644 (file)
--- 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 */