diff options
author | louis <louis.braun@gmx.de> | 2013-12-27 16:31:49 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-27 16:31:49 +0100 |
commit | c5af8c801775819dd9eed003883cb9cea2ef7376 (patch) | |
tree | 5fb061290ff8f0da82e84b977d93748b3377b5b0 /imagecache.c | |
parent | 53fa2c70cac3025ff223a6d0e2cdae2805b14c30 (diff) | |
download | vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.gz vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.bz2 |
Fixed OSD Background Color (Closes Ticket 1474)
Diffstat (limited to 'imagecache.c')
-rw-r--r-- | imagecache.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/imagecache.c b/imagecache.c index 9ddbd04..3b897b9 100644 --- a/imagecache.c +++ b/imagecache.c @@ -623,11 +623,8 @@ void cImageCache::Clear(void) { }
logoCache.clear();
- if (tempStaticLogo) {
+ if (tempStaticLogo)
delete tempStaticLogo;
- tempStaticLogo = NULL;
- }
-
if (groupsHead)
delete groupsHead;
if (groupsBottom)
@@ -636,7 +633,6 @@ void cImageCache::Clear(void) { delete groupsLeft;
if (groupsRight)
delete groupsRight;
-
if (imgLeft)
delete imgLeft;
if (imgLeftActive)
@@ -653,4 +649,18 @@ void cImageCache::Clear(void) { delete imgBottom;
if (imgBottomActive)
delete imgBottomActive;
+
+ tempStaticLogo = NULL;
+ groupsHead = NULL;
+ groupsBottom = NULL;
+ groupsLeft = NULL;
+ groupsRight = NULL;
+ imgLeft = NULL;
+ imgLeftActive = NULL;
+ imgRight = NULL;
+ imgRightActive = NULL;
+ imgHead = NULL;
+ imgHeadActive = NULL;
+ imgBottom = NULL;
+ imgBottomActive = NULL;
}
|