summaryrefslogtreecommitdiff
path: root/core/array.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-22 09:00:01 +0200
committerGitHub <noreply@github.com>2017-09-22 09:00:01 +0200
commit9906aeb2f8b492e6662e68aafe11e62524a87cc8 (patch)
tree61f479d3b83fafc419a348835ed823b350f3dc2f /core/array.cpp
parentf6c94e62850c2418b4ccfe2bf6393974cc435f8d (diff)
parent1a97d6455d05320eef5ab9da7a7b0528d791be4f (diff)
Merge pull request #11485 from rosshadden/fix/typos
Fixed a bunch of typos, including an error code. [ci skip]
Diffstat (limited to 'core/array.cpp')
-rw-r--r--core/array.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/array.cpp b/core/array.cpp
index 2e3fbf858d..30184a002e 100644
--- a/core/array.cpp
+++ b/core/array.cpp
@@ -47,11 +47,11 @@ void Array::_ref(const Array &p_from) const {
ERR_FAIL_COND(!_fp); // should NOT happen.
if (_fp == _p)
- return; //wathever it is, nothing to do here move along
+ return; // whatever it is, nothing to do here move along
bool success = _fp->refcount.ref();
- ERR_FAIL_COND(!success); //should really not happen either
+ ERR_FAIL_COND(!success); // should really not happen either
_unref();