This commit is contained in:
Sander van Dijk 2006-04-15 00:08:26 +00:00
parent fe24755f00
commit 2b2dfb9fd3
1 changed files with 1 additions and 1 deletions

View File

@ -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;