summaryrefslogtreecommitdiff
path: root/imagecache.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-02-16 13:57:27 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-10 16:42:52 +0100
commit03337e57fdd83344d9b24ffcad394e76d5f92007 (patch)
tree45076068b910c2269bd14764b923b0391af4253b /imagecache.c
parentdaf3245de7437d287dc101db1d262848b2e4ad50 (diff)
downloadskin-nopacity-03337e57fdd83344d9b24ffcad394e76d5f92007.tar.gz
skin-nopacity-03337e57fdd83344d9b24ffcad394e76d5f92007.tar.bz2
Make imgCache global
Make imgcache global so that it doesn't always have to be passed explicitly to other functions.
Diffstat (limited to 'imagecache.c')
-rw-r--r--imagecache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imagecache.c b/imagecache.c
index f473e2d..dc9968d 100644
--- a/imagecache.c
+++ b/imagecache.c
@@ -7,6 +7,8 @@
using namespace Magick;
+cImageCache *imgCache;
+
cImageCache::cImageCache() : cImageMagickWrapper() {
tempStaticLogo = NULL;
osdTheme = Setup.OSDTheme;