[Scummvm-cvs-logs] scummvm master -> d4d4b779aa2889ef7988cf16084a59249809438a

wjp wjp at usecode.org
Tue Mar 1 19:12:04 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d4d4b779aa COMMON: Fix Rect::intersects doc


Commit: d4d4b779aa2889ef7988cf16084a59249809438a
    https://github.com/scummvm/scummvm/commit/d4d4b779aa2889ef7988cf16084a59249809438a
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2016-03-01T19:11:49+01:00

Commit Message:
COMMON: Fix Rect::intersects doc

Changed paths:
    common/rect.h



diff --git a/common/rect.h b/common/rect.h
index 32424d3..e6534e5 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -163,7 +163,8 @@ struct Rect {
 	 *
 	 * @param r the rectangle to check
 	 *
-	 * @return true if the given rectangle is inside the rectangle, false otherwise
+	 * @return true if the given rectangle has a non-empty intersection with
+	 *         this rectangle, false otherwise
 	 */
 	bool intersects(const Rect &r) const {
 		return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);






More information about the Scummvm-git-logs mailing list