projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0884bb
)
- fixed empty() - a rectangle is empty when widht OR height is zero
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 28 Apr 2005 12:16:35 +0000
(12:16 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 28 Apr 2005 12:16:35 +0000
(12:16 +0000)
lib/gdi/erect.h
patch
|
blob
|
history
diff --git
a/lib/gdi/erect.h
b/lib/gdi/erect.h
index
65fd8d7
..
d95b8c0
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
-{ return x1 == x2
&&
y1 == y2; }
+{ return x1 == x2
||
y1 == y2; }
inline bool eRect::valid() const
{ return x1 <= x2 && y1 <= y2; }