summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-04-05 00:35:52 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-04-05 00:35:52 +0000
commit0f80d9cd7596336ef16da1db940c383e4fb163e1 (patch)
tree199829347b9c7f7ae581cb3fd80426c0493d113d /src/desktop.cpp
parentTranslations. inkscape.pot update (glyph dialog again). (diff)
parentCoords: fix guidelines (diff)
downloadinkscape-0f80d9cd7596336ef16da1db940c383e4fb163e1.tar.gz
inkscape-0f80d9cd7596336ef16da1db940c383e4fb163e1.zip
Second batch of coords fixes (guides, text cursor, zoom)
(bzr r9295)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp4
1 files changed, 2 insertions, 2 deletions
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 {