cvs: gd /libgd ISSUES gd.c
| From: | Pierre-Alain Joye | Date: | Wed, 03 Jan 2007 20:18:11 +0000 |
| Subject: | cvs: gd /libgd ISSUES gd.c | ||
| Groups: | php.gd.cvs | ||
| Request: | Send a blank email to php-gd-cvs+get-47@lists.php.net to get a copy of this message | ||
pajoye Wed Jan 3 20:18:11 2007 UTC
Modified files:
/gd/libgd gd.c ISSUES
Log:
#19, Use abs instead of fbas in HWB_Diff (Nick Atty)
http://cvs.php.net/viewvc.cgi/gd/libgd/gd.c?r1=1.38&r2=1.39&diff_format=u
Index: gd/libgd/gd.c
diff -u gd/libgd/gd.c:1.38 gd/libgd/gd.c:1.39
--- gd/libgd/gd.c:1.38 Wed Jan 3 20:09:01 2007
+++ gd/libgd/gd.c Wed Jan 3 20:18:11 2007
@@ -1,4 +1,4 @@
-/* $Id: gd.c,v 1.38 2007/01/03 20:09:01 pajoye Exp $ */
+/* $Id: gd.c,v 1.39 2007/01/03 20:18:11 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -324,7 +324,7 @@
}
else
{
- diff = abs (HWB1.H - HWB2.H);
+ diff = fabs (HWB1.H - HWB2.H);
if (diff > 3)
{
diff = 6 - diff; /* Remember, it's a colour circle */
http://cvs.php.net/viewvc.cgi/gd/libgd/ISSUES?r1=1.17&r2=1.18&diff_format=u
Index: gd/libgd/ISSUES
diff -u gd/libgd/ISSUES:1.17 gd/libgd/ISSUES:1.18
--- gd/libgd/ISSUES:1.17 Wed Jan 3 20:09:01 2007
+++ gd/libgd/ISSUES Wed Jan 3 20:18:11 2007
@@ -40,3 +40,4 @@
#17, Added "static" to entities_s struct declaration to avoid obscure
compiler problem on Suns (John Ellson/Graphviz)
#18, Removed invalid gdFree call when overflow2 fails
+#19, Use abs instead of fbas in HWB_Diff (Nick Atty)