From 60ea0516859b34304ea050db85f7b4b3438ddc22 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Tue, 6 Nov 2007 10:56:58 +0000 Subject: [PATCH] ws --- ext/standard/lcg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c index a3069749aa..1a9b584223 100644 --- a/ext/standard/lcg.c +++ b/ext/standard/lcg.c @@ -36,7 +36,6 @@ int lcg_globals_id; #else static php_lcg_globals lcg_globals; #endif - #ifdef PHP_WIN32 #include @@ -44,7 +43,7 @@ static php_lcg_globals lcg_globals; /* * combinedLCG() returns a pseudo random number in the range of (0, 1). - * The function combines two CGs with periods of + * The function combines two CGs with periods of * 2^31 - 85 and 2^31 - 249. The period of this function * is equal to the product of both primes. */ @@ -57,7 +56,7 @@ PHPAPI double php_combined_lcg(TSRMLS_D) /* {{{ */ { php_int32 q; php_int32 z; - + if (!LCG(seeded)) { lcg_seed(TSRMLS_C); } -- 2.50.1