diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Workspace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index ac655d15..38581d5a 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -399,13 +399,13 @@ bool rowLRTB(const Rect &first, const Rect &second){ bool colLRTB(const Rect &first, const Rect &second){ if (first.x()==second.x()) return first.y()<second.y(); - return first.x()<second.y(); + return first.x()<second.x(); } bool colLRBT(const Rect &first, const Rect &second){ if (first.x()==second.x()) return first.y()+first.h()>second.y()+second.h(); - return first.x()<second.y(); + return first.x()<second.x(); } bool colRLTB(const Rect &first, const Rect &second){ |
