(Overlay) input_overlay_fullscreen - add return false if ol is NULL
This commit is contained in:
parent
f88636eb2b
commit
fb73970699
|
@ -802,6 +802,8 @@ void input_overlay_next(input_overlay_t *ol)
|
|||
|
||||
bool input_overlay_full_screen(input_overlay_t *ol)
|
||||
{
|
||||
if (!ol)
|
||||
return false;
|
||||
return ol->active->full_screen;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue