--- np2/common/rect.c 2003/10/16 17:57:10 1.1 +++ np2/common/rect.c 2005/02/07 14:46:08 1.2 @@ -1,7 +1,7 @@ #include "compiler.h" -BOOL rect_in(const RECT_T *rect, int x, int y) { +BRESULT rect_in(const RECT_T *rect, int x, int y) { if ((rect) && (rect->left <= x) && (rect->right > x) && @@ -26,7 +26,7 @@ int rect_num(const RECT_T *rect, int cnt return(-1); } -BOOL rect_isoverlap(const RECT_T *r1, const RECT_T *r2) { +BRESULT rect_isoverlap(const RECT_T *r1, const RECT_T *r2) { if ((r1->left >= r2->right) || (r1->right <= r2->left) ||