summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ba777b)
raw | patch | inline | side by side (parent: 3ba777b)
author | mental <mental@users.sourceforge.net> | |
Fri, 9 Mar 2007 03:57:40 +0000 (03:57 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Fri, 9 Mar 2007 03:57:40 +0000 (03:57 +0000) |
src/libnr/nr-rect.cpp | patch | blob | history |
diff --git a/src/libnr/nr-rect.cpp b/src/libnr/nr-rect.cpp
index 848d9b4f9900689b79ff86c39707d7090122d18d..fd291218b781b425152bdba39f6599b11ab1104a 100644 (file)
--- a/src/libnr/nr-rect.cpp
+++ b/src/libnr/nr-rect.cpp
for ( int i=0 ; i < 2 ; i++ ) {
r._min[i] = std::max(a->_min[i], b->_min[i]);
r._max[i] = std::min(a->_max[i], b->_max[i]);
- if ( r._min[i] > r._max[i] ) {
+ if ( r._min[i] >= r._max[i] ) {
return Nothing();
}
}