summaryrefslogtreecommitdiffstats
path: root/core/math/rect2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/rect2.cpp')
-rw-r--r--core/math/rect2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rect2.cpp b/core/math/rect2.cpp
index 20b5b05f5e..2b7bb9bc33 100644
--- a/core/math/rect2.cpp
+++ b/core/math/rect2.cpp
@@ -285,7 +285,7 @@ next4:
}
Rect2::operator String() const {
- return "[P: " + position.operator String() + ", S: " + size + "]";
+ return "[P: " + position.operator String() + ", S: " + size.operator String() + "]";
}
Rect2::operator Rect2i() const {