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:
parent
cd65e69b00
commit
fbc1ca4196
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user