From 2a6d1c51df9d9c1fc672e1c813d2de5a046e9fce Mon Sep 17 00:00:00 2001 From: mental Date: Fri, 9 Mar 2007 01:38:19 +0000 Subject: [PATCH] no need to use accessors here --- src/libnr/nr-rect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libnr/nr-rect.cpp b/src/libnr/nr-rect.cpp index 3ffe06dc8..9047e4e1c 100644 --- a/src/libnr/nr-rect.cpp +++ b/src/libnr/nr-rect.cpp @@ -290,8 +290,8 @@ Maybe intersection(Maybe a, Maybe b) { } 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(); } -- 2.30.2