summaryrefslogtreecommitdiffstats
path: root/core/variant/array.cpp
diff options
context:
space:
mode:
authorAnshul7sp1 <Anshul7sp1@users.noreply.github.com>2021-03-12 19:05:16 +0530
committerAnshul7sp1 <Anshul7sp1@users.noreply.github.com>2021-03-12 19:05:16 +0530
commit91181c20865d419decd78e022006074c9fd0faba (patch)
tree29f7cfdc5c544cfd6f3128588dd42f9ce3767c8e /core/variant/array.cpp
parentadf233ed0436a0564db7682b4ce0931656d4c392 (diff)
downloadredot-engine-91181c20865d419decd78e022006074c9fd0faba.tar.gz
Fixes small typos and grammar correction
Diffstat (limited to 'core/variant/array.cpp')
-rw-r--r--core/variant/array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/array.cpp b/core/variant/array.cpp
index 9a2922a777..347c6cd82e 100644
--- a/core/variant/array.cpp
+++ b/core/variant/array.cpp
@@ -141,7 +141,7 @@ uint32_t Array::hash() const {
void Array::_assign(const Array &p_array) {
if (_p->typed.type != Variant::OBJECT && _p->typed.type == p_array._p->typed.type) {
- //same type or untyped, just reference, shuold be fine
+ //same type or untyped, just reference, should be fine
_ref(p_array);
} else if (_p->typed.type == Variant::NIL) { //from typed to untyped, must copy, but this is cheap anyway
_p->array = p_array._p->array;