commit 2b2dfb9fd324cd80e7fc159a0d0d54a9c65fea2c
parent fe24755f00addd316b15881a8c2bfa7b1aacfeba
Author: Sander van Dijk <sander@wmii.de>
Date: Sat, 15 Apr 2006 00:08:26 +0000
oops...
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/area.c b/cmd/wm/area.c
@@ -36,7 +36,7 @@ create_area(View *v)
a->rect.height = rect.height - brect.height;
a->mode = def.colmode;
if(v->area.size > 1)
- w = rect.width / ((float)rect.width / a->rect.width - 1);
+ w = rect.width / ((float)rect.width / w - 1);
a->rect.width = w;
cext_vattach(vector_of_areas(&v->area), a);
v->sel = v->area.size - 1;