diff --git a/src/kits/interface/Region.cpp b/src/kits/interface/Region.cpp index 52f3f9f52e..d68f662c51 100644 --- a/src/kits/interface/Region.cpp +++ b/src/kits/interface/Region.cpp @@ -98,7 +98,7 @@ BRegion::~BRegion() \return This function always returns \c *this. */ BRegion& -BRegion::operator=(const BRegion ®ion) +BRegion::operator=(const BRegion& region) { if (®ion == this) return *this; @@ -115,6 +115,7 @@ BRegion::operator=(const BRegion ®ion) return *this; } + /*! \brief Compares this region to another (by value). \param other the BRegion to compare to. \return \ctrue if the two regions are the same, \cfalse otherwise. @@ -131,6 +132,7 @@ BRegion::operator==(const BRegion& other) const return memcmp(fData, other.fData, fCount * sizeof(clipping_rect)) == 0; } + /*! \brief Set the region to contain just the given BRect. \param newBounds A BRect. */