projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure there is valid context for DrawRectangle
[wxWidgets.git]
/
src
/
ribbon
/
art_internal.cpp
diff --git
a/src/ribbon/art_internal.cpp
b/src/ribbon/art_internal.cpp
index 0e641024ecac3c43676d5798ccf5dbc6d701a767..b74d33e3a52d561d569793e443a7a8360824c49b 100644
(file)
--- 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;
}