summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_rectinsert.c
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src/rmd_rectinsert.c')
-rw-r--r--recordmydesktop/src/rmd_rectinsert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/recordmydesktop/src/rmd_rectinsert.c b/recordmydesktop/src/rmd_rectinsert.c
index c9b81b9..a929807 100644
--- a/recordmydesktop/src/rmd_rectinsert.c
+++ b/recordmydesktop/src/rmd_rectinsert.c
@@ -56,10 +56,10 @@
* \retval -10 Grouping the two rects is possible
*
*/
-static int rmdCollideRects(XRectangle *xrect1,
- XRectangle *xrect2,
- XRectangle xrect_return[],
- int *nrects) {
+static int rmdCollideRects( const XRectangle *xrect1,
+ const XRectangle *xrect2,
+ XRectangle xrect_return[],
+ int *nrects) {
if ((xrect1->x>=xrect2->x)&&
(xrect1->x+xrect1->width<=xrect2->x+xrect2->width)&&
(xrect1->y>=xrect2->y)&&
© All Rights Reserved