]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 25 Aug 2012 14:33:05 +0000 (14:33 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 25 Aug 2012 14:33:05 +0000 (14:33 +0000)
tests/wandtest.c

index c7656de25098a2a8d2a21e1e5b9206a7fc08bfa1..cfbc6e7ecd76b3a237845c9e6926da81692ea489 100644 (file)
@@ -5228,14 +5228,14 @@ int main(int argc,char **argv)
       path[MaxTextExtent];
 
     path[0]=0;
-    p=getenv("SRCDIR");
+    p=getenv("top_srcdir");
     if (p != (char *) NULL)
       {
         (void) strcpy(path,p);
         if (path[strlen(path)-1] != '/')
           (void) strcat(path,"/");
       }
-    (void) strcat(path,"sequence.miff");
+    (void) strcat(path,"tests/sequence.miff");
     status=MagickReadImage(magick_wand,path);
   }
   if (status == MagickFalse)