Browse Source

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

avoid potential stack overflow by recursive function call
Juan Linietsky 10 years ago
parent
commit
0c2222188e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/color.cpp

+ 1 - 1
core/color.cpp

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