summaryrefslogtreecommitdiffstats
path: root/core/config
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-11-11 23:01:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-11-11 23:01:24 +0100
commitba713c80dfe73d37e51da2e4021d4275f72826bf (patch)
tree25806b7be95eb6dbfe1de944a37a0183a9dff8cd /core/config
parente38686f85b768a451dc06324fe2471adc8665448 (diff)
downloadredot-engine-ba713c80dfe73d37e51da2e4021d4275f72826bf.tar.gz
Fix various typos with codespell
Using 2.2.7.dev51+geb4a58fe.
Diffstat (limited to 'core/config')
-rw-r--r--core/config/project_settings.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index cbbfe3de75..93934f2320 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -852,8 +852,8 @@ Error ProjectSettings::_save_settings_binary(const String &p_file, const RBMap<S
}
if (!p_custom_features.is_empty()) {
+ // Store how many properties are saved, add one for custom features, which must always go first.
file->store_32(count + 1);
- //store how many properties are saved, add one for custom featuers, which must always go first
String key = CoreStringNames::get_singleton()->_custom_features;
file->store_pascal_string(key);
@@ -870,7 +870,8 @@ Error ProjectSettings::_save_settings_binary(const String &p_file, const RBMap<S
file->store_buffer(buff.ptr(), buff.size());
} else {
- file->store_32(count); //store how many properties are saved
+ // Store how many properties are saved.
+ file->store_32(count);
}
for (const KeyValue<String, List<String>> &E : p_props) {