Author: mordante
Date: Tue May 12 23:06:01 2009
New Revision: 35613

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35613&view=rev
Log:
Fix comment, which was incorrect.

Modified:
    trunk/src/sdl_utils.hpp

Modified: trunk/src/sdl_utils.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sdl_utils.hpp?rev=35613&r1=35612&r2=35613&view=diff
==============================================================================
--- trunk/src/sdl_utils.hpp (original)
+++ trunk/src/sdl_utils.hpp Tue May 12 23:06:01 2009
@@ -68,12 +68,14 @@
 SDL_Rect union_rects(const SDL_Rect& rect1, const SDL_Rect& rect2);
 
 /**
- * Returns the intersection of two rectangles...
+ * Returns the union of two rectangles.
  *
  * @param rect1                   The first rectangle.
  * @param rect2                   The second rectangle.
  *
- * @returns                       The intersection of the two rectangles
+ * @returns                       The union of the two rectangles. If the
+ *                                rectangles don't intersect and empty
+ *                                rectangle is returned.
  */
 SDL_Rect get_rect_union(const SDL_Rect& rect1, const SDL_Rect& rect2);
 /**


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to