summaryrefslogtreecommitdiffstats
path: root/src/helper/recthull.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/recthull.h')
-rw-r--r--src/helper/recthull.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/recthull.h b/src/helper/recthull.h
index a9cad4466..d82450ce8 100644
--- a/src/helper/recthull.h
+++ b/src/helper/recthull.h
@@ -38,7 +38,7 @@ public:
void add(Rect const &r) {
// Note that this is a hack. when convexhull actually works
// you will need to add all four points.
- _bounds = unify(_bounds, r);
+ _bounds.unionWith(r);
}
void add(RectHull const &h) {
if (h._bounds) {