diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-08-04 23:56:47 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-08-04 23:56:47 +0000 |
| commit | 498629f82d9453cb7222ab642b867c183fdf1666 (patch) | |
| tree | 33bb4b8bffc1f67c2167d393e928aee743fdce9d /src/desktop.cpp | |
| parent | Fix artifacts in Gaussian blur and other filters inadvertently (diff) | |
| download | inkscape-498629f82d9453cb7222ab642b867c183fdf1666.tar.gz inkscape-498629f82d9453cb7222ab642b867c183fdf1666.zip | |
Wholesale cruft removal part 3
(bzr r9508.1.47)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index 52f172577..74bf0033a 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -791,7 +791,7 @@ SPDesktop::set_display_area (double x0, double y0, double x1, double y1, double newscale = CLAMP(newscale, SP_DESKTOP_ZOOM_MIN, SP_DESKTOP_ZOOM_MAX); // unit: 'screen pixels' per 'document pixels' int clear = FALSE; - if (!NR_DF_TEST_CLOSE (newscale, scale, 1e-4 * scale)) { + if (!Geom::are_near(newscale, scale, Geom::EPSILON * scale)) { // zoom changed - set new zoom factors _d2w = Geom::Scale(newscale, -newscale); _w2d = Geom::Scale(1/newscale, 1/-newscale); |
