fix: the symbolrate for cable somehow got into the sat-setup and vice versa
[enigma2.git] / lib / gdi / erect.h
index 65fd8d7112655a34ed21b12f4d53ccb87b20c156..d95b8c0f6caf184ffd3b4256eda7dac19cbf204b 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; }