Commits

Anonymous committed d0e9edf

#19, Use abs instead of fbas in HWB_Diff (Nick Atty)

  • Participants
  • Parent commits cfee163

Comments (0)

Files changed (2)

 #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)
     }
   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 */