Fix dereference before null check in FVTerm::updateVTerm
This commit is contained in:
parent
212172f522
commit
937cd8a0f0
|
@ -1382,6 +1382,9 @@ void FVTerm::updateVTerm (term_area* area)
|
|||
{
|
||||
// Update area data on VTerm
|
||||
|
||||
if ( ! area || ! area->visible )
|
||||
return;
|
||||
|
||||
int ax = area->offset_left
|
||||
, ay = area->offset_top
|
||||
, aw = area->width
|
||||
|
@ -1391,9 +1394,6 @@ void FVTerm::updateVTerm (term_area* area)
|
|||
, ol = 0 // Outside left
|
||||
, y_end;
|
||||
|
||||
if ( ! area || ! area->visible )
|
||||
return;
|
||||
|
||||
// Call the processing handler methods
|
||||
callPreprocessingHandler(area);
|
||||
|
||||
|
|
Loading…
Reference in New Issue