summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-07 00:28:50 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-07 00:28:50 -0300
commite4434fe70eff0b50049c9e26291c5c720f1a09df (patch)
treec8cd31618087954bc529d59b387d5267d798d1f8 /core
parent143265d4cbff2057784ddf723bf807356794fa06 (diff)
parent6813a1f1e1104c62f9cd4f3848ca0030855911ba (diff)
Merge pull request #1977 from choikwa/master
fix typo error in Color::invert, fixes #1967
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() {