fixed possible Nullpointer access in displaymenurootview

This commit is contained in:
louis
2014-12-10 19:27:20 +01:00
parent d870026113
commit e746d28750
2 changed files with 4 additions and 1 deletions

View File

@@ -390,6 +390,8 @@ cFont *cDisplayMenuRootView::GetTextAreaFont(void) {
void cDisplayMenuRootView::Render(void) {
if (!view)
return;
if (!view->DrawBackground()) {
if (!defaultBackgroundDrawn) {
defaultBackgroundDrawn = true;