summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-05-04 01:16:45 +0200
committerlouis <louis.braun@gmx.de>2013-05-04 01:16:45 +0200
commit7e596690921f5216e2fd17a8d73903a2256ca6b6 (patch)
tree13b3b7c07d0f191b7101c01c3d3d81537f6b3a7a
parentdaa47b6183a78bc01513a387849b8fb5364cd04a (diff)
downloadskin-nopacity-7e596690921f5216e2fd17a8d73903a2256ca6b6.tar.gz
skin-nopacity-7e596690921f5216e2fd17a8d73903a2256ca6b6.tar.bz2
Fixed unintialized Pixmap in displaychannel
-rw-r--r--displaychannel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c
index a6db48f..41fb363 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -167,6 +167,7 @@ void cNopacityDisplayChannel::CreatePixmaps(void) {
pixmapEPGInfo->Fill(clrTransparent);
}
pixmapScreenResolution = NULL;
+ pixmapSignalMeter = NULL;
}
void cNopacityDisplayChannel::CreateFonts(void) {
@@ -633,7 +634,8 @@ void cNopacityDisplayChannel::Flush(void) {
if (config.displaySignalStrength && showSignal && !groupSep) {
DrawSignal();
} else
- pixmapSignalMeter->Fill(clrTransparent);
+ if (pixmapSignalMeter)
+ pixmapSignalMeter->Fill(clrTransparent);
if (withInfo) {
int Current = 0;
int Total = 0;