diff options
Diffstat (limited to 'displaychannel.c')
-rw-r--r-- | displaychannel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c index 4bd063d..eb050ca 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -372,7 +372,9 @@ void cNopacityDisplayChannel::SetChannel(const cChannel *Channel, int Number) { pixmapChannelInfo->DrawText(cPoint(channelInfoHeight/2, (channelInfoHeight-fontHeader->Height())/2), channelString, Theme.Color(clrChannelHead), clrTransparent, fontHeader); } cImageLoader imgLoader; - if (imgLoader.LoadIcon("Channelseparator", config.logoHeight)) { + if (imgLoader.LoadLogo(*ChannelName)) { + pixmapLogo->DrawImage(cPoint(config.logoBorder, (height-config.logoHeight)/2), imgLoader.GetImage()); + } else if (imgLoader.LoadIcon("Channelseparator", config.logoHeight)) { pixmapLogo->DrawImage(cPoint(config.logoBorder + (config.logoWidth - config.logoHeight)/2, (height-config.logoHeight)/2), imgLoader.GetImage()); } } |