diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-03-11 21:48:33 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-03-11 21:48:33 +0000 |
| commit | 1f2e3605492857229ecac6204e2957a91dd0ad44 (patch) | |
| tree | 53c82baa4ea8e4479d83bd94279397a695cdc069 /src/desktop-style.cpp | |
| parent | Drop duplicate io code ( Bug #1120585 ) (diff) | |
| download | inkscape-1f2e3605492857229ecac6204e2957a91dd0ad44.tar.gz inkscape-1f2e3605492857229ecac6204e2957a91dd0ad44.zip | |
cppcheck
(bzr r12193)
Diffstat (limited to 'src/desktop-style.cpp')
| -rw-r--r-- | src/desktop-style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 2ea3c876b..40132ec58 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -446,9 +446,9 @@ stroke_average_width (GSList const *objects) static bool vectorsClose( std::vector<double> const &lhs, std::vector<double> const &rhs ) { - static double epsilon = 1e-6; bool isClose = false; if ( lhs.size() == rhs.size() ) { + static double epsilon = 1e-6; isClose = true; for ( size_t i = 0; (i < lhs.size()) && isClose; ++i ) { isClose = fabs(lhs[i] - rhs[i]) < epsilon; |
