mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed possible Nullpointer access in displaymenurootview
This commit is contained in:
parent
d870026113
commit
e746d28750
1
HISTORY
1
HISTORY
@ -111,3 +111,4 @@ Version 0.0.8
|
|||||||
Version 0.1.0
|
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
|
@ -390,6 +390,8 @@ cFont *cDisplayMenuRootView::GetTextAreaFont(void) {
|
|||||||
|
|
||||||
|
|
||||||
void cDisplayMenuRootView::Render(void) {
|
void cDisplayMenuRootView::Render(void) {
|
||||||
|
if (!view)
|
||||||
|
return;
|
||||||
if (!view->DrawBackground()) {
|
if (!view->DrawBackground()) {
|
||||||
if (!defaultBackgroundDrawn) {
|
if (!defaultBackgroundDrawn) {
|
||||||
defaultBackgroundDrawn = true;
|
defaultBackgroundDrawn = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user