gimp r25534 - in trunk: . plug-ins/flame



Author: martinn
Date: Sat Apr 26 12:04:12 2008
New Revision: 25534
URL: http://svn.gnome.org/viewvc/gimp?rev=25534&view=rev

Log:
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().


Modified:
   trunk/ChangeLog
   trunk/plug-ins/flame/libifs.c

Modified: trunk/plug-ins/flame/libifs.c
==============================================================================
--- trunk/plug-ins/flame/libifs.c	(original)
+++ trunk/plug-ins/flame/libifs.c	Sat Apr 26 12:04:12 2008
@@ -1493,7 +1493,7 @@
    static int n = 0;
    static int l;
    if (0 == n) {
-      l = random();
+      l = rand();
       n = 20;
    }
    else {
@@ -1505,5 +1505,5 @@
 
 static double flam3_random01(void)
 {
-   return (random() & 0xfffffff) / (double) 0xfffffff;
+   return (rand() & 0xfffffff) / (double) 0xfffffff;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]