From: dirk Date: Sat, 3 Jan 2015 23:41:04 +0000 (+0000) Subject: Fixed check for MagickCore dll. X-Git-Tag: 7.0.1-0~1502 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c6c80ce5dfa37154dd9bc25c603aaee51fb748d;p=imagemagick Fixed check for MagickCore dll. --- diff --git a/MagickCore/module.c b/MagickCore/module.c index 54167f102..c2af07211 100644 --- a/MagickCore/module.c +++ b/MagickCore/module.c @@ -763,9 +763,8 @@ static MagickBooleanType GetMagickModulePath(const char *filename, /* Search module path. */ - if ((NTGetModulePath("CORE_RL_magick_.dll",path) != MagickFalse) || - (NTGetModulePath("CORE_DB_magick_.dll",path) != MagickFalse) || - (NTGetModulePath("Magick.dll",path) != MagickFalse)) + if ((NTGetModulePath("CORE_RL_MagickCore_.dll",path) != MagickFalse) || + (NTGetModulePath("CORE_DB_MagickCore_.dll",path) != MagickFalse)) { (void) ConcatenateMagickString(path,DirectorySeparator,MaxTextExtent); (void) ConcatenateMagickString(path,filename,MaxTextExtent);