added random initialization (srand48)
authorkramm <kramm>
Thu, 18 Oct 2001 20:35:57 +0000 (20:35 +0000)
committerkramm <kramm>
Thu, 18 Oct 2001 20:35:57 +0000 (20:35 +0000)
pdf2swf/pdf2swf.cc

index 0d81796..d031085 100644 (file)
@@ -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);