summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorroot <root@jtx.marker.es>2013-03-11 23:49:54 +0000
committerroot <root@jtx.marker.es>2013-03-11 23:49:54 +0000
commit71b9a4b54c026c0fb8c73ef6cac4ae4c1ea82e7f (patch)
tree2f2c808a23fc507f9c813104415236573f25bb9a /src/desktop-style.cpp
parent~sub fix, double click to reset default handles and control to 10% step (diff)
parentreadding entries in Cmake and make include lists that were not removed after ... (diff)
downloadinkscape-71b9a4b54c026c0fb8c73ef6cac4ae4c1ea82e7f.tar.gz
inkscape-71b9a4b54c026c0fb8c73ef6cac4ae4c1ea82e7f.zip
update to trunk
(bzr r11950.1.52)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp2
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;