Fix 2 instances of mismatched locking

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8532 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
haydentech 2004-08-02 21:07:55 +00:00
parent 80d8f99ee8
commit f073f5d156

View File

@ -1926,6 +1926,7 @@ void BWindow::ResizeBy(float dx, float dy)
fLink->Flush();
top_view->ResizeBy(dxNew, dyNew);
Unlock();
}
//------------------------------------------------------------------------------
@ -3048,7 +3049,6 @@ void BWindow::drawAllViews(BView* aView)
{
if(Lock())
{
Lock();
top_view->Invalidate();
Unlock();
}