summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/generic-rect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/generic-rect.h b/src/2geom/generic-rect.h
index f0863f439..bb6f2d2b8 100644
--- a/src/2geom/generic-rect.h
+++ b/src/2geom/generic-rect.h
@@ -431,7 +431,7 @@ public:
* and it will contain only the given point. */
void expandTo(CPoint const &p) {
if (*this) {
- (*this).expandTo(p);
+ (*this)->expandTo(p);
} else {
*this = CRect(p, p);
}