diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-04-26 16:55:14 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-04-26 16:55:14 +0000 |
| commit | dccca32d43a1ec37bf8ca643c4672a377ec1dfe9 (patch) | |
| tree | ddc43e8c99f1bfe83175064ba2c3608a686b465c /src/color.cpp | |
| parent | updating to previous po (diff) | |
| parent | translation typo (diff) | |
| download | inkscape-dccca32d43a1ec37bf8ca643c4672a377ec1dfe9.tar.gz inkscape-dccca32d43a1ec37bf8ca643c4672a377ec1dfe9.zip | |
update to trunk
(bzr r11950.1.107)
Diffstat (limited to 'src/color.cpp')
| -rw-r--r-- | src/color.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/color.cpp b/src/color.cpp index 0a07d3f21..5eb0d91ef 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -99,9 +99,7 @@ bool SPColor::operator == (SPColor const& other) const */ bool SPColor::isClose( SPColor const& other, float epsilon ) const { - bool match = false; - - match = (fabs((v.c[0]) - (other.v.c[0])) < epsilon) + bool match = (fabs((v.c[0]) - (other.v.c[0])) < epsilon) && (fabs((v.c[1]) - (other.v.c[1])) < epsilon) && (fabs((v.c[2]) - (other.v.c[2])) < epsilon); |
