summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-04-04 21:45:07 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-04-04 21:45:07 +0000
commit4bfe9e6856f66825a0bf139e9744e2bc290918ae (patch)
treec45b482073b97511ed2e207e2997a9d0fe922cd7 /src
parentMerge PDF rendering fix (diff)
downloadinkscape-4bfe9e6856f66825a0bf139e9744e2bc290918ae.tar.gz
inkscape-4bfe9e6856f66825a0bf139e9744e2bc290918ae.zip
Coords: fix SPDesktop::point() method
(bzr r9281.1.12)
Diffstat (limited to 'src')
-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 {