Great catch Brian !! :) Glad to see U r still around....
dh
Enlightenment SVN wrote:
> Log:
> don't return NaN for hue if r=g=b
>
> Author: rephorm
> Date: 2009-02-14 17:53:02 -0800 (Sat, 14 Feb 2009)
> New Revision: 39019
>
> Modified:
> trunk/evas/src/lib/engines/common/evas_convert_color.c
>
> Modified: trunk/evas/src/lib/engines/common/evas_convert_color.c
> ===================================================================
> --- trunk/evas/src/lib/engines/common/evas_convert_color.c 2009-02-14
> 19:55:29 UTC (rev 39018)
> +++ trunk/evas/src/lib/engines/common/evas_convert_color.c 2009-02-15
> 01:53:02 UTC (rev 39019)
> @@ -127,7 +127,7 @@
> d = max - min;
>
> if (v) *v = (max / 255.0);
> - if (!max)
> + if (!max || !d)
> {
> if (s) *s = 0;
> if (h) *h = 0;
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel