small fix of a corner case
authorAnselm R. Garbe <arg@10kloc.org>
Fri, 29 Sep 2006 16:54:15 +0200
changeset 510 0dfa6b752aed
parent 509 9dcc64d8a19e
child 511 1599c953647b
small fix of a corner case
view.c
--- a/view.c	Fri Sep 29 16:44:02 2006 +0200
+++ b/view.c	Fri Sep 29 16:54:15 2006 +0200
@@ -213,7 +213,7 @@
 						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;
 				}