summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-16 08:45:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-16 08:45:35 +0200
commit6fb391bc2366cf51780f5bb6eaa199d5b63b9ec1 (patch)
tree752b2ca247f087920723b70a01d3b3ae5d471474 /main
parentc0d8d91b15597209a1ca865c6ff4f84f06f7de86 (diff)
downloadredot-engine-6fb391bc2366cf51780f5bb6eaa199d5b63b9ec1.tar.gz
Fix various typos with codespell
And ignore some false positives introduced by recent versions of codespell.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/main.cpp b/main/main.cpp
index a9e2d357fa..ed6a320e4c 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1011,19 +1011,19 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
} else if (I->get() == "--delta-smoothing") {
if (I->next()) {
String string = I->next()->get();
- bool recognised = false;
+ bool recognized = false;
if (string == "enable") {
OS::get_singleton()->set_delta_smoothing(true);
delta_smoothing_override = true;
- recognised = true;
+ recognized = true;
}
if (string == "disable") {
OS::get_singleton()->set_delta_smoothing(false);
delta_smoothing_override = false;
- recognised = true;
+ recognized = true;
}
- if (!recognised) {
- OS::get_singleton()->print("Delta-smoothing argument not recognised, aborting.\n");
+ if (!recognized) {
+ OS::get_singleton()->print("Delta-smoothing argument not recognized, aborting.\n");
goto error;
}
N = I->next()->next();