summaryrefslogtreecommitdiff
path: root/core/variant/array.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-13 14:55:05 +0100
committerGitHub <noreply@github.com>2021-03-13 14:55:05 +0100
commit942f5f0cb282cbc2b3fb766e3c7614e82b98dd9b (patch)
tree743ebbf03660bb8c9df215fb1ddacec4c8323d6a /core/variant/array.cpp
parentc4f32bced91569ee23221afd82a793010501b818 (diff)
parent91181c20865d419decd78e022006074c9fd0faba (diff)
Merge pull request #46929 from Anshul7sp1/typosAndGrammar
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;