summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorchoikwa <code.kchoi@gmail.com>2015-05-24 19:07:26 -0400
committerchoikwa <code.kchoi@gmail.com>2015-05-24 19:07:26 -0400
commitb210f52f4a090ba9a6bf60138b4e5222678ba98e (patch)
treebd357028eaacaf832451c1c9e0c79c6c87758dbc /core
parentf8f3362cab16ddfbc1d954ecadbccd4838200769 (diff)
fix typo error in Color::invert
Diffstat (limited to 'core')
-rw-r--r--core/color.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/color.cpp b/core/color.cpp
index ba4751dc2f..32f3df6d4b 100644
--- a/core/color.cpp
+++ b/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() {