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

@ -110,4 +110,5 @@ Version 0.0.8
Version 0.1.0
- fixed display of color buttons in detailed views
- fixed display of color buttons in detailed views
- fixed possible Nullpointer access in displaymenurootview

View File

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