base aspect calculation on 702 instead of 720 pixel
[vuplus_dvbapp] / lib / gdi / erect.h
index 65fd8d7..d95b8c0 100644 (file)
@@ -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; }