summaryrefslogtreecommitdiff
path: root/imageloader.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-26 12:53:10 +0100
committerlouis <louis.braun@gmx.de>2013-01-26 12:53:10 +0100
commit3e5815663163a7d982ed640e456fc46a4ea6eed7 (patch)
treeb0cb261b3cb2ca497b666492da806be1110d2877 /imageloader.c
parent33582fabb5dd1d6fffed3dd940d2eb15785d2c26 (diff)
downloadskin-nopacity-3e5815663163a7d982ed640e456fc46a4ea6eed7.tar.gz
skin-nopacity-3e5815663163a7d982ed640e456fc46a4ea6eed7.tar.bz2
Fixed a segfault with newer ImageMagick versions
Diffstat (limited to 'imageloader.c')
-rw-r--r--imageloader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imageloader.c b/imageloader.c
index 4b31aed..223f744 100644
--- a/imageloader.c
+++ b/imageloader.c
@@ -7,6 +7,7 @@
using namespace Magick;
cImageLoader::cImageLoader() {
+ InitializeMagick(NULL);
}
cImageLoader::~cImageLoader() {