Fix bug in dockapp placement (wrapping at right/lower edge). Fix by davey?

SVN revision: 27570
This commit is contained in:
Kim Woelders 2006-12-26 22:31:13 +00:00
parent 407a3c99cf
commit af3cc9f6ef
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ DockappFindEmptySpotFor(EWin * eapp)
}
}
if (x < 0 || y < 0 || x + w >= VRoot.w || y + h >= VRoot.h)
if (x < 0 || y < 0 || x + w > VRoot.w || y + h > VRoot.h)
{
x = VRoot.w - w / 2;
y = VRoot.h - h / 2;