mirror of https://github.com/GNOME/gimp.git
Applied patch from Aurimas Juška. Use the standard rand() instead of
2008-04-26 Martin Nordholts <martinn@svn.gnome.org> * plug-ins/flame/libifs.c: Applied patch from Aurimas Juška. Use the standard rand() instead of random(). svn path=/trunk/; revision=25534
This commit is contained in:
parent
9672d0a207
commit
87a8d25792
|
@ -1,3 +1,8 @@
|
|||
2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* plug-ins/flame/libifs.c: Applied patch from Aurimas Juška. Use
|
||||
the standard rand() instead of random().
|
||||
|
||||
2008-04-26 Øyvind Kolås <pippin@gimp.org>
|
||||
|
||||
* app/tools/gimpgegltool.c: (gimp_get_subtype_classes),
|
||||
|
|
|
@ -1493,7 +1493,7 @@ static int flam3_random_bit(void)
|
|||
static int n = 0;
|
||||
static int l;
|
||||
if (0 == n) {
|
||||
l = random();
|
||||
l = rand();
|
||||
n = 20;
|
||||
}
|
||||
else {
|
||||
|
@ -1505,5 +1505,5 @@ static int flam3_random_bit(void)
|
|||
|
||||
static double flam3_random01(void)
|
||||
{
|
||||
return (random() & 0xfffffff) / (double) 0xfffffff;
|
||||
return (rand() & 0xfffffff) / (double) 0xfffffff;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue