summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84a7abc)
raw | patch | inline | side by side (parent: 84a7abc)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sun, 4 Apr 2010 21:45:07 +0000 (23:45 +0200) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sun, 4 Apr 2010 21:45:07 +0000 (23:45 +0200) |
src/desktop.cpp | patch | blob | history |
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 1953ae2a6e8db730bfff77ff61f52a8f398ba6dd..6690e0af13eabbd6086241aebbb93474b7ce178c 100644 (file)
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
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 {