aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/erect.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2004-09-25 16:13:48 +0000
committerFelix Domke <tmbinc@elitedvb.net>2004-09-25 16:13:48 +0000
commit1aeefd997cc362c3b37c1587c5f08891b35c3a75 (patch)
tree621600d89b20531ee9e6497dbc9fb50db8a4d759 /lib/gdi/erect.cpp
parent636a782d8920b4b52a881a4565c46c06f68785b5 (diff)
downloadenigma2-1aeefd997cc362c3b37c1587c5f08891b35c3a75.tar.gz
enigma2-1aeefd997cc362c3b37c1587c5f08891b35c3a75.zip
- new GUI lib
- fixes
Diffstat (limited to 'lib/gdi/erect.cpp')
-rw-r--r--lib/gdi/erect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gdi/erect.cpp b/lib/gdi/erect.cpp
index b72e5d04..a3878797 100644
--- a/lib/gdi/erect.cpp
+++ b/lib/gdi/erect.cpp
@@ -151,8 +151,8 @@ eRect& eRect::operator&=(const eRect &r)
eRect eRect::operator|(const eRect &r) const
{
- if ( isValid() ) {
- if ( r.isValid() ) {
+ if ( valid() ) {
+ if ( r.valid() ) {
eRect tmp;
tmp.setLeft( MIN( x1, r.x1 ) );
tmp.setRight( MAX( x2, r.x2 ) );