mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
7aea59ec77
commit
f5cce03392
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue