fixed col placement

This commit is contained in:
Dana Jansens 2002-04-29 20:29:10 +00:00
parent 1368ffc54c
commit 22f8550d45

View file

@ -399,13 +399,13 @@ bool rowLRTB(const Rect &first, const Rect &second){
bool colLRTB(const Rect &first, const Rect &second){ bool colLRTB(const Rect &first, const Rect &second){
if (first.x()==second.x()) if (first.x()==second.x())
return first.y()<second.y(); return first.y()<second.y();
return first.x()<second.y(); return first.x()<second.x();
} }
bool colLRBT(const Rect &first, const Rect &second){ bool colLRBT(const Rect &first, const Rect &second){
if (first.x()==second.x()) if (first.x()==second.x())
return first.y()+first.h()>second.y()+second.h(); 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){ bool colRLTB(const Rect &first, const Rect &second){