Merge pull request #945 from adolson/color-contrasted-fix

avoid potential stack overflow by recursive function call
This commit is contained in:
Juan Linietsky 2015-01-08 21:59:39 -03:00
commit 0c2222188e
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ Color Color::inverted() const {
Color Color::contrasted() const {
Color c=*this;
c.contrasted();
c.contrast();
return c;
}