projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb941a
)
Ranges of 0 width cannot intersect (Fixes bug #3717)
author
Dana Jansens
<danakj@orodu.net>
Thu, 17 Dec 2009 15:22:05 +0000
(10:22 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 17 Dec 2009 15:24:48 +0000
(10:24 -0500)
openbox/geom.h
patch
|
blob
|
history
diff --git
a/openbox/geom.h
b/openbox/geom.h
index
7c5ee32
..
6a1725e
100644
(file)
--- a/
openbox/geom.h
+++ b/
openbox/geom.h
@@
-160,6
+160,6
@@
typedef struct _StrutPartial {
(s1).bottom_end == (s2).bottom_end)
#define RANGES_INTERSECT(r1x, r1w, r2x, r2w) \
- (r1x < r2x + r2w && r1x + r1w > r2x)
+ (r1
w && r2w && r1
x < r2x + r2w && r1x + r1w > r2x)
#endif