diff options
author | louis <louis.braun@gmx.de> | 2013-05-04 01:16:45 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-04 01:16:45 +0200 |
commit | 7e596690921f5216e2fd17a8d73903a2256ca6b6 (patch) | |
tree | 13b3b7c07d0f191b7101c01c3d3d81537f6b3a7a | |
parent | daa47b6183a78bc01513a387849b8fb5364cd04a (diff) | |
download | skin-nopacity-7e596690921f5216e2fd17a8d73903a2256ca6b6.tar.gz skin-nopacity-7e596690921f5216e2fd17a8d73903a2256ca6b6.tar.bz2 |
Fixed unintialized Pixmap in displaychannel
-rw-r--r-- | displaychannel.c | 4 |
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; |