git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable polling the fp when driver is not ready for that
[enigma2.git]
/
lib
/
gdi
/
erect.h
diff --git
a/lib/gdi/erect.h
b/lib/gdi/erect.h
index 65fd8d7112655a34ed21b12f4d53ccb87b20c156..d95b8c0f6caf184ffd3b4256eda7dac19cbf204b 100644
(file)
--- a/
lib/gdi/erect.h
+++ b/
lib/gdi/erect.h
@@
-143,7
+143,7
@@
inline eRect::eRect( int left, int top, int width, int height )
}
inline bool eRect::empty() const
}
inline bool eRect::empty() const
-{ return x1 == x2
&&
y1 == y2; }
+{ return x1 == x2
||
y1 == y2; }
inline bool eRect::valid() const
{ return x1 <= x2 && y1 <= y2; }
inline bool eRect::valid() const
{ return x1 <= x2 && y1 <= y2; }