summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-08-15 20:55:21 +0000
committertavmjong-free <tavmjong@free.fr>2016-08-15 20:55:21 +0000
commit7f779f28e67eac1653e0f7751bb3f224b67894c7 (patch)
treeed872536d8fe377caf2ba22181f8dbfc6a82cf35 /src/verbs.cpp
parentFix bug reported in http://www.viva64.com/en/b/0419/ (diff)
downloadinkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.tar.gz
inkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.zip
Fix a bunch of errors as reported at http://www.viva64.com/en/b/0419/
(bzr r15059)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 59ad06fa1..5130f1701 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1842,7 +1842,7 @@ void ZoomVerb::perform(SPAction *action, void *data)
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
gdouble zoom_inc =
- prefs->getDoubleLimited( "/options/zoomincrement/value", 1.414213562, 1.01, 10 );
+ prefs->getDoubleLimited( "/options/zoomincrement/value", M_SQRT2, 1.01, 10 );
double zcorr = 1.0;
Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit");