X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgdi%2Ferect.h;h=d95b8c0f6caf184ffd3b4256eda7dac19cbf204b;hb=fc75d537aa0ea601c65ee453e2f5632ae33323bb;hp=65fd8d7112655a34ed21b12f4d53ccb87b20c156;hpb=e0884bba407ed4faf8dd544595255e94e57c8cda;p=vuplus_dvbapp diff --git a/lib/gdi/erect.h b/lib/gdi/erect.h index 65fd8d7..d95b8c0 100644 --- a/lib/gdi/erect.h +++ b/lib/gdi/erect.h @@ -143,7 +143,7 @@ inline eRect::eRect( int left, int top, int width, int height ) } inline bool eRect::empty() const -{ return x1 == x2 && y1 == y2; } +{ return x1 == x2 || y1 == y2; } inline bool eRect::valid() const { return x1 <= x2 && y1 <= y2; }