No need for NULL there.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28447 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-11-01 22:17:19 +00:00
parent cd65e69b00
commit fbc1ca4196

View File

@ -38,7 +38,7 @@ namespace
void
cascade()
{
BScreen screen(NULL);
BScreen screen;
BRect screenBorder = screen.Frame();
float left = gWindowRect.left + 15;
if (left + gWindowRect.Width() > screenBorder.right)
@ -55,7 +55,7 @@ namespace
void
uncascade()
{
BScreen screen(NULL);
BScreen screen;
BRect screenBorder = screen.Frame();
float left = gWindowRect.left - 15;