From: Krzysztof KosiƄski Date: Sun, 4 Apr 2010 21:45:07 +0000 (+0200) Subject: Coords: fix SPDesktop::point() method X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cfe9154018d0b5a384d62abe621690a9b15606f1;p=inkscape.git Coords: fix SPDesktop::point() method --- diff --git a/src/desktop.cpp b/src/desktop.cpp index 1953ae2a6..6690e0af1 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -724,8 +724,8 @@ SPDesktop::point() const if (p[Geom::X] >= r0[Geom::X] && p[Geom::X] <= r1[Geom::X] && - p[Geom::Y] >= r1[Geom::Y] && - p[Geom::Y] <= r0[Geom::Y]) + p[Geom::Y] >= r0[Geom::Y] && + p[Geom::Y] <= r1[Geom::Y]) { return p; } else {