From: kramm Date: Thu, 18 Oct 2001 20:35:57 +0000 (+0000) Subject: added random initialization (srand48) X-Git-Tag: release-0-0-2~47 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=af078761bb9df5e243b0ae718a96c7de49a2f758;p=swftools.git added random initialization (srand48) --- diff --git a/pdf2swf/pdf2swf.cc b/pdf2swf/pdf2swf.cc index 0d81796..d031085 100644 --- a/pdf2swf/pdf2swf.cc +++ b/pdf2swf/pdf2swf.cc @@ -202,6 +202,7 @@ char is_in_range(int t, char*irange) int main(int argn, char *argv[]) { + srand48(time(0)); processargs(argn, argv); initLog(0,-1,0,0,-1,loglevel);