Fix called C++ object pointer is null
Signed-off-by: Adrien Destugues <[email protected]> Fixes #9904.
This commit is contained in:
committed by
Adrien Destugues
parent
05a922cd4d
commit
932b333fa2
@@ -294,6 +294,10 @@ SpiderSaver::_DrawInto(BView *view)
|
||||
view->SetHighColor(2, 1, 1, 255);
|
||||
break;
|
||||
}
|
||||
|
||||
if (fQueues[i] == NULL)
|
||||
continue;
|
||||
|
||||
if (Polygon* p = fQueues[i]->Head()) {
|
||||
view->SetDrawingMode(B_OP_ADD);
|
||||
_DrawPolygon(p, view);
|
||||
|
||||
Reference in New Issue
Block a user