Small fix in strut calculations.

This commit is contained in:
Kris Maglione 2008-03-22 14:56:38 -04:00
parent ef260ab604
commit a56311392c
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ view_update_rect(View *v) {
sr = strut->left;
if(rect_intersect_p(brect, sr))
brect.min.x = sr.max.x;
sr = rectaddpt(strut->right, screen->r.max);
sr = rectaddpt(strut->right, Pt(screen->r.max.x, 0));
if(rect_intersect_p(brect, sr))
brect.max.x = sr.min.x;
}