summaryrefslogtreecommitdiff
path: root/displaychannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'displaychannel.c')
-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;