Fix: Dereference of null pointer in FMenu
This commit is contained in:
parent
5606d66404
commit
4deede746f
|
@ -614,6 +614,8 @@ void FMenu::draw()
|
|||
{
|
||||
drawMenuShadow();
|
||||
term_area* area = getWindowWidget(this)->getVWin();
|
||||
|
||||
if ( area )
|
||||
putArea (xpos+xmin-1, ypos+ymin-1, area);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue