Commit c0ba05d9 authored by Cristy's avatar Cristy

...

parent edd02d2e
......@@ -342,7 +342,7 @@ MagickExport double GetElapsedTime(TimerInfo *time_info)
% %
% %
% %
% G e t M a g i c k T i m e %
+ G e t M a g i c k T i m e %
% %
% %
% %
......
......@@ -7484,7 +7484,7 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info,
if (*option == '+')
{
seed=(unsigned long) GetMagickTime();
seed=(unsigned long) time((time_t *) NULL);
SetRandomSecretKey(seed);
break;
}
......
......@@ -1335,7 +1335,7 @@ WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand,
CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
SetRandomSecretKey(
IfSetOption ? (unsigned long) StringToUnsignedLong(arg1)
: (unsigned long) GetMagickTime() );
: (unsigned long) time((time_t *) NULL));
break;
}
if (LocaleCompare("size",option+1) == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment