X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5..8f01a41693ff4b01a224e9ea2f9a26538ec20414:/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 ) );