JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
small fix of a corner case
authorAnselm R. Garbe <arg@10kloc.org>
Fri, 29 Sep 2006 14:54:15 +0000 (16:54 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Fri, 29 Sep 2006 14:54:15 +0000 (16:54 +0200)
view.c

diff --git a/view.c b/view.c
index 6697c90..0910077 100644 (file)
--- a/view.c
+++ b/view.c
@@ -213,7 +213,7 @@ dotile(Arg *arg) {
                                                c->x = sx + master + (i - 1) * tw;
                                                c->y = sy + bh;
                                                if(i + 1 == n)
-                                                       c->w = sx + stackw - c->x - 2 * BORDERPX;
+                                                       c->w = sw - c->x - 2 * BORDERPX;
                                        }
                                        break;
                                }