summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--displaychannelview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannelview.c b/displaychannelview.c
index 16e59ed..6f7ce3c 100644
--- a/displaychannelview.c
+++ b/displaychannelview.c
@@ -232,7 +232,7 @@ void cNopacityDisplayChannelView::DrawChannelLogo(const cChannel *Channel) {
}
cImage *imgLogo = imgCache->GetLogo(ctLogo, Channel);
if (imgLogo) {
- pixmapLogo->DrawImage(cPoint(0, (geoManager->channelLogoHeight - imgLogo->Height()) / 2), *imgLogo);
+ pixmapLogo->DrawImage(cPoint((geoManager->channelLogoWidth - imgLogo->Width()) / 2, (geoManager->channelLogoHeight - imgLogo->Height()) / 2), *imgLogo);
}
}