Fixed a segfault with newer ImageMagick versions

This commit is contained in:
louis 2013-02-03 17:38:05 +01:00
parent 1c28bba0a5
commit 14f677a767

View File

@ -7,6 +7,7 @@
using namespace Magick;
cImageLoader::cImageLoader() {
InitializeMagick(NULL);
}
cImageLoader::~cImageLoader() {
@ -103,4 +104,4 @@ bool cImageLoader::LoadImage(cString FileName, cString Path, cString Extension)
return false;
}
return true;
}
}