simplify code to return from the end of the function
[wxWidgets.git] / src / ribbon / art_internal.cpp
index 0e641024ecac3c43676d5798ccf5dbc6d701a767..b74d33e3a52d561d569793e443a7a8360824c49b 100644 (file)
@@ -153,7 +153,7 @@ wxRibbonHSLColour::wxRibbonHSLColour(const wxColour& col)
             hue += 120.0;
         }
         else // Max == blue
             hue += 120.0;
         }
         else // Max == blue
-        { 
+        {
             hue = 60.0 * (red - green) / (Max - Min);
             hue += 240.0;
         }
             hue = 60.0 * (red - green) / (Max - Min);
             hue += 240.0;
         }