- new GUI lib
[vuplus_dvbapp] / lib / gdi / erect.cpp
index b72e5d0..a387879 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 ) );