diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2013-03-13 21:22:43 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2013-03-13 21:22:43 +0000 |
| commit | 5fdab345ed60a124a25aa0efecd36b4307b72681 (patch) | |
| tree | 9da8eae3a08679edbbb5994b6b2681a2c81b97f1 /src/desktop-style.cpp | |
| parent | Prevent crashing on windows systems due to locale issues (diff) | |
| parent | cppcheck (diff) | |
| download | inkscape-5fdab345ed60a124a25aa0efecd36b4307b72681.tar.gz inkscape-5fdab345ed60a124a25aa0efecd36b4307b72681.zip | |
merge from trunk (r12201)
(bzr r11668.1.57)
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; |
