This commit is contained in:
Arthur Ice committed 2014-12-05 20:16:13 -08:00
commit 2aa287fe3c
124 files changed
+63220 -2537

No files matched your search

+1 -1
View File
@@ -1515,7 +1515,7 @@ XS(XS__ChooseRandom)
if (items < 1)
Perl_croak(aTHX_ "Usage: ChooseRandom(... list ...)");
int index = MakeRandomInt(0, items-1);
int index = zone->random.Int(0, items-1);
SV *tmp = ST(0);
ST(0) = ST(index);