Skip to content

Commit

Permalink
Add a null pointer check on 'screen'
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Apr 9, 2012
1 parent 805453a commit df8548e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythscreenstack.cpp
Expand Up @@ -155,7 +155,7 @@ void MythScreenStack::PopScreen(MythScreenType *screen, bool allowFade,
{
m_topScreen = (*it);
(*it)->SetAlpha(255);
if (screen->IsFullscreen())
if (screen && screen->IsFullscreen())
(*it)->aboutToShow();
}
}
Expand Down

0 comments on commit df8548e

Please sign in to comment.