CID 1332 : NULL pointer dereference.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38176 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2010-08-17 08:27:20 +00:00
parent 28a4c1b470
commit f230f68b3b

View File

@ -250,7 +250,7 @@ TouchpadView::DrawSliders()
fPadRect.top + fYScrollRange + dragSize);
view->FillRect(fYScrollDragZone2);
fOffScreenView->Sync();
view->Sync();
fOffScreenBitmap->Unlock();
DrawBitmap(fOffScreenBitmap, B_ORIGIN);
}