summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ad5be4)
raw | patch | inline | side by side (parent: 0ad5be4)
author | mental <mental@users.sourceforge.net> | |
Fri, 9 Mar 2007 01:38:19 +0000 (01:38 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Fri, 9 Mar 2007 01:38:19 +0000 (01:38 +0000) |
src/libnr/nr-rect.cpp | patch | blob | history |
diff --git a/src/libnr/nr-rect.cpp b/src/libnr/nr-rect.cpp
index 3ffe06dc857ed03279abeed5631d9bd81464e63f..9047e4e1c53faa2762b0bffe5b22aeea695800df 100644 (file)
--- a/src/libnr/nr-rect.cpp
+++ b/src/libnr/nr-rect.cpp
} else {
Rect r;
for ( int i=0 ; i < 2 ; i++ ) {
- r._min[i] = MAX(a->min()[i], b->min()[i]);
- r._max[i] = MIN(a->max()[i], b->max()[i]);
+ r._min[i] = MAX(a->_min[i], b->_min[i]);
+ r._max[i] = MIN(a->_max[i], b->_max[i]);
if ( r._min[i] > r._max[i] ) {
return Nothing();
}