summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-12-10 19:27:20 +0100
committerlouis <louis.braun@gmx.de>2014-12-10 19:27:20 +0100
commite746d28750d231a57494f9cffe648087b6f4d37f (patch)
tree03bf3d55a1a58b2ed72a7a6a2986911795f4b2b9 /views
parentd870026113ba3096c9f5dacbb6de5eebf08ad6f5 (diff)
downloadvdr-plugin-skindesigner-e746d28750d231a57494f9cffe648087b6f4d37f.tar.gz
vdr-plugin-skindesigner-e746d28750d231a57494f9cffe648087b6f4d37f.tar.bz2
fixed possible Nullpointer access in displaymenurootview
Diffstat (limited to 'views')
-rw-r--r--views/displaymenurootview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/displaymenurootview.c b/views/displaymenurootview.c
index 1797332..47de424 100644
--- a/views/displaymenurootview.c
+++ b/views/displaymenurootview.c
@@ -390,6 +390,8 @@ cFont *cDisplayMenuRootView::GetTextAreaFont(void) {
void cDisplayMenuRootView::Render(void) {
+ if (!view)
+ return;
if (!view->DrawBackground()) {
if (!defaultBackgroundDrawn) {
defaultBackgroundDrawn = true;