summaryrefslogtreecommitdiff
path: root/displaychannel.c
diff options
context:
space:
mode:
authorManuel Reimer <manuel.reimer@gmx.de>2014-10-29 17:11:02 +0100
committerManuel Reimer <manuel.reimer@gmx.de>2014-10-29 17:11:02 +0100
commit9609e183f26f2335cc282f8e3424a7bd9d0f25b4 (patch)
treec97ddb8bdb41c90fb6533dbf543daedd569a1e4b /displaychannel.c
parent87aa10dc281627a06b588af79b1b32aa6b1ce8fb (diff)
parent3d702a9ad5f04179d78659f48579f3466abbe69a (diff)
downloadvdr-plugin-skindesigner-9609e183f26f2335cc282f8e3424a7bd9d0f25b4.tar.gz
vdr-plugin-skindesigner-9609e183f26f2335cc282f8e3424a7bd9d0f25b4.tar.bz2
Merge branch 'master' of git://projects.vdr-developer.org/vdr-plugin-skindesigner
Diffstat (limited to 'displaychannel.c')
-rw-r--r--displaychannel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c
index 0ddb514..5d2701a 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -46,7 +46,7 @@ void cSDDisplayChannel::SetChannel(const cChannel *Channel, int Number) {
cString ChannelID("");
if (Channel) {
- ChannelName = Channel->Name();
+ ChannelName = Channel->Name() ? Channel->Name() : "";
ChannelID = Channel->GetChannelID().ToString();
if (!Channel->GroupSep()) {
ChannelNumber = cString::sprintf("%d%s", Channel->Number(), Number ? "-" : "");
@@ -159,6 +159,7 @@ void cSDDisplayChannel::SetMessage(eMessageType Type, const char *Text) {
channelView->ClearSignalBackground();
channelView->ClearScraperContent();
channelView->ClearAudioInfo();
+ channelView->ClearBitrates();
channelView->DisplayMessage(Type, Text);
groupSep = true;
}