calling _ResizeBy with zero offset doesn't do anything

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14731 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-11-07 01:16:12 +00:00
parent 19ae7ecce0
commit 7dd038f405

View File

@ -134,8 +134,7 @@ WinBorder::WinBorder(const BRect &frame,
GetRootLayer()->GetDesktop()->ScreenAt(0)->GetMode(width, height, colorSpace, frequency);
_ResizeBy(width - frame.Width(), height - frame.Height());
}
} else
_ResizeBy(0, 0);
}
#ifndef NEW_CLIPPING
RebuildFullRegion();