]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 12 Mar 2010 14:18:11 +0000 (14:18 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 12 Mar 2010 14:18:11 +0000 (14:18 +0000)
magick/magick.c
wand/mogrify.c

index 06a4a3eec9dc814d14ae20d82a3a0391d6d9daea..4a8aa61e0eb3ad3b83c98789f59d598b9bba642c 100644 (file)
@@ -1226,8 +1226,6 @@ MagickExport void MagickCoreGenesis(const char *path,
   /*
     Initialize the Magick environment.
   */
-  (void) setlocale(LC_ALL,"");
-  (void) setlocale(LC_NUMERIC,"C");
   (void) SemaphoreComponentGenesis();
   (void) LogComponentGenesis();
   (void) LocaleComponentGenesis();
index 84bc5eea4c43407eea49865ffde3fbb15077ff25..236837ef8209a7a35329f9b57e803b6eeb1ece47 100644 (file)
@@ -126,6 +126,8 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info,
   unsigned long
     iterations;
 
+  (void) setlocale(LC_ALL,"");
+  (void) setlocale(LC_NUMERIC,"C");
   concurrent=MagickFalse;
   duration=(-1.0);
   iterations=1;