summaryrefslogtreecommitdiff
path: root/imagecache.c
diff options
context:
space:
mode:
Diffstat (limited to 'imagecache.c')
-rw-r--r--imagecache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imagecache.c b/imagecache.c
index 9b5473c..8d3e182 100644
--- a/imagecache.c
+++ b/imagecache.c
@@ -357,7 +357,7 @@ cImage *cImageCache::GetLogo(const cChannel *channel) {
delete tempStaticLogo;
tempStaticLogo = NULL;
}
- tempStaticLogo = CreateImage(geoManager.logoWidth, geoManager.logoHeight);
+ tempStaticLogo = CreateImage(geoManager.logoWidth * 0.8, geoManager.logoHeight * 0.8);
return tempStaticLogo;
} else {
//add requested logo to cache
@@ -609,7 +609,7 @@ bool cImageCache::LoadLogo(const cChannel *channel) {
}
void cImageCache::InsertIntoLogoCache(std::string channelID) {
- cImage *image = CreateImage(geoManager.logoWidth, geoManager.logoHeight);
+ cImage *image = CreateImage(geoManager.logoWidth * 0.8, geoManager.logoHeight * 0.8);
logoCache.insert(std::pair<std::string, cImage*>(channelID, image));
}