X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cf018e14ea61679b99874765f232b2032b3d3f8..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/ribbon/art_internal.cpp diff --git a/src/ribbon/art_internal.cpp b/src/ribbon/art_internal.cpp index 0e641024ec..b74d33e3a5 100644 --- a/src/ribbon/art_internal.cpp +++ b/src/ribbon/art_internal.cpp @@ -153,7 +153,7 @@ wxRibbonHSLColour::wxRibbonHSLColour(const wxColour& col) hue += 120.0; } else // Max == blue - { + { hue = 60.0 * (red - green) / (Max - Min); hue += 240.0; }