X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5..68662a7ac01638b0f164e8fbcf512bda45406158:/lib/gdi/erect.cpp diff --git a/lib/gdi/erect.cpp b/lib/gdi/erect.cpp index b72e5d04..43cefc53 100644 --- a/lib/gdi/erect.cpp +++ b/lib/gdi/erect.cpp @@ -1,5 +1,4 @@ #include -#include /***************************************************************************** eRect member functions @@ -151,8 +150,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 ) );