In [supportMaxColorSpaces] corrected converions from RGB to HSB.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8510 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-01-08 17:28:32 +00:00
parent 7aea59ec77
commit f5cce03392

View file

@ -1473,7 +1473,7 @@ NSColor* systemColorWithName(NSString *name)
V = (r > g ? r : g);
V = (b > V ? b : V);
Temp = (r > g ? r : g);
Temp = (r < g ? r : g);
Temp = (b < Temp ? b : Temp);
diff = V - Temp;
if (V == r)