git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1f3e4e5
)
'invalid' eRects (produced from operator& on non-overlapping-rects) are in fact empty...
author
Felix Domke
<tmbinc@2mac.waldobjekt.org>
Mon, 22 Jun 2009 11:11:15 +0000
(13:11 +0200)
committer
Felix Domke
<tmbinc@2mac.waldobjekt.org>
Mon, 22 Jun 2009 11:11:15 +0000
(13:11 +0200)
lib/gdi/erect.h
patch
|
blob
|
history
diff --git
a/lib/gdi/erect.h
b/lib/gdi/erect.h
index 839814035c28e09e2db3c583da3e71eae752338d..34713ab40f2a5724907b1f8aa43e9d1055085166 100644
(file)
--- a/
lib/gdi/erect.h
+++ b/
lib/gdi/erect.h
@@
-151,7
+151,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; }