summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--menuitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menuitem.c b/menuitem.c
index d955bf4..14ec7ce 100644
--- a/menuitem.c
+++ b/menuitem.c
@@ -648,7 +648,7 @@ void cNopacityScheduleMenuItem::DrawLogo(int logoWidth, int logoHeight) {
if (Channel && Channel->Name()) {
cImage *logo = imgCache->GetLogo(ctLogoMenuItem, Channel);
if (logo) {
- pixmapStatic->DrawImage(cPoint(1,1), *logo);
+ pixmapStatic->DrawImage(cPoint(1, (logoHeight - logo->Height()) / 2), *logo);
} else {
cTextWrapper channel;
channel.Set(Channel->Name(), font, logoWidth);
@@ -1130,7 +1130,7 @@ void cNopacityTimerMenuItem::DrawLogo(int logoWidth, int logoHeight) {
if (Timer && Timer->Channel() && Timer->Channel()->Name()) {
cImage *logo = imgCache->GetLogo(ctLogoMenuItem, Timer->Channel());
if (logo) {
- pixmapStatic->DrawImage(cPoint(1,1), *logo);
+ pixmapStatic->DrawImage(cPoint(1, (logoHeight - logo->Height()) / 2), *logo);
} else {
cTextWrapper channel;
channel.Set(Timer->Channel()->Name(), font, logoWidth);