]> granicus.if.org Git - imagemagick/commitdiff
Fixed check for MagickCore dll.
authordirk <dirk@git.imagemagick.org>
Sat, 3 Jan 2015 23:41:04 +0000 (23:41 +0000)
committerdirk <dirk@git.imagemagick.org>
Sat, 3 Jan 2015 23:41:04 +0000 (23:41 +0000)
MagickCore/module.c

index 54167f10223eeb95160e68dadc096d9c831866cc..c2af07211c5cd7423b59396516836afe1be6e7d1 100644 (file)
@@ -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);