X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/636a782d8920b4b52a881a4565c46c06f68785b5..1aeefd997cc362c3b37c1587c5f08891b35c3a75:/lib/gdi/erect.cpp?ds=sidebyside 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 ) );