summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0ec2cc)
raw | patch | inline | side by side (parent: d0ec2cc)
author | mental <mental@users.sourceforge.net> | |
Sun, 18 Mar 2007 23:22:09 +0000 (23:22 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Sun, 18 Mar 2007 23:22:09 +0000 (23:22 +0000) |
src/libnr/nr-rect.cpp | patch | blob | history |
diff --git a/src/libnr/nr-rect.cpp b/src/libnr/nr-rect.cpp
index dbb54b9fdd3d52d51e36529032418579da39a020..72bced37bb048ca9337d8c03658710f412c2dd81 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();
}
}