CID 1513: NULL pointer dereference.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38175 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-08-17 08:16:09 +00:00
parent bd792754f1
commit 28a4c1b470
@@ -182,7 +182,7 @@ ColorStepView::Draw(BRect updateRect)
colorBarRect.bottom + totalFontHeight + 5));
// blit bitmap
fOffScreenView->Sync();
view->Sync();
fOffScreenBitmap->Unlock();
DrawBitmap(fOffScreenBitmap, B_ORIGIN);