babl r280 - in trunk: . babl
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: babl r280 - in trunk: . babl
- Date: Tue, 19 Feb 2008 12:58:13 +0000 (GMT)
Author: neo
Date: Tue Feb 19 12:58:13 2008
New Revision: 280
URL: http://svn.gnome.org/viewvc/babl?rev=280&view=rev
Log:
2008-02-19 Sven Neumann <sven gimp org>
* babl/babl-fish-path.c (test_create): reverted previous change as
it introduces the risk of not testing any values between 0.0 and 1.0.
Modified:
trunk/ChangeLog
trunk/babl/babl-fish-path.c
Modified: trunk/babl/babl-fish-path.c
==============================================================================
--- trunk/babl/babl-fish-path.c (original)
+++ trunk/babl/babl-fish-path.c Tue Feb 19 12:58:13 2008
@@ -437,7 +437,7 @@
test = babl_malloc (sizeof (double) * test_pixels * 4);
for (i = 0; i < test_pixels * 4; i++)
- test [i] = ((double) random () / RAND_MAX) * 2 - 0.25;
+ test [i] = (double) random () / RAND_MAX;
return test;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]