summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-05-23 21:32:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-05-23 21:32:19 +0200
commit9923851370073ceda72c4f4f7414444742c27562 (patch)
treeb5f112fc5ac4b279788acbac43f378882510fb0f /core
parentad8c50a49c942333b80a6b0a961c2f9b0c986712 (diff)
Fix typos with codespell
Using codespell 2.2-dev from current git.
Diffstat (limited to 'core')
-rw-r--r--core/io/logger.cpp2
-rw-r--r--core/io/resource_format_binary.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/io/logger.cpp b/core/io/logger.cpp
index 0418825009..5820ec0c09 100644
--- a/core/io/logger.cpp
+++ b/core/io/logger.cpp
@@ -172,7 +172,7 @@ void RotatedFileLogger::rotate_file() {
}
file = FileAccess::open(base_path, FileAccess::WRITE);
- file->detach_from_objectdb(); // Note: This FileAccess instance will exist longer than ObjectDB, therefor can't be registered in ObjectDB.
+ file->detach_from_objectdb(); // Note: This FileAccess instance will exist longer than ObjectDB, therefore can't be registered in ObjectDB.
}
RotatedFileLogger::RotatedFileLogger(const String &p_base_path, int p_max_files) :
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index cb634632c8..24458f20b4 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -1976,7 +1976,7 @@ Error ResourceFormatSaverBinaryInstance::save(const String &p_path, const Ref<Re
}
if (p.pi.type == Variant::OBJECT && missing_resource_properties.has(F.name)) {
- // Was this missing resource overriden? If so do not save the old value.
+ // Was this missing resource overridden? If so do not save the old value.
Ref<Resource> res = p.value;
if (res.is_null()) {
p.value = missing_resource_properties[F.name];