- new GUI lib
[enigma2.git] / lib / gdi / erect.cpp
index b72e5d04bdb6e075df2d6e1f4f26edf5ae5cde01..a38787977922feb5e94898ee60ac97cac0b6069d 100644 (file)
@@ -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 ) );