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:
Martin Nordholts 2008-04-26 12:04:12 +00:00 committed by Martin Nordholts
parent 9672d0a207
commit 87a8d25792
2 changed files with 7 additions and 2 deletions

View File

@ -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),

View File

@ -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;
}