Browse Source

Merge pull request #1977 from choikwa/master

fix typo error in Color::invert, fixes #1967
Juan Linietsky 10 years ago
parent
commit
e4434fe70e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/color.cpp

+ 1 - 1
core/color.cpp

@@ -161,7 +161,7 @@ void Color::invert() {
 
 	r=1.0-r;
 	g=1.0-g;	
-	g=1.0-b;	
+	b=1.0-b;	
 }
 void Color::contrast() {