summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-03-24 21:45:31 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-03-24 21:45:31 +0100
commitdebeee56f721178d44f71deb4e303b825d1dccd1 (patch)
tree6c88f378419a5760bbe919c48c87d1c71a6ea548 /core/io
parentc103f32ea3b19c3588d54dcef98e307f8b823f4c (diff)
Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
Diffstat (limited to 'core/io')
-rw-r--r--core/io/marshalls.h2
-rw-r--r--core/io/xml_parser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/io/marshalls.h b/core/io/marshalls.h
index 939ed9cea9..b322410929 100644
--- a/core/io/marshalls.h
+++ b/core/io/marshalls.h
@@ -34,7 +34,7 @@
#include "variant.h"
/**
- * Miscelaneous helpers for marshalling data types, and encoding
+ * Miscellaneous helpers for marshalling data types, and encoding
* in an endian independent way
*/
diff --git a/core/io/xml_parser.cpp b/core/io/xml_parser.cpp
index e3b669409a..c5929617c9 100644
--- a/core/io/xml_parser.cpp
+++ b/core/io/xml_parser.cpp
@@ -39,7 +39,7 @@ static bool _equalsn(const CharType *str1, const CharType *str2, int len) {
return false;
// if one (or both) of the strings was smaller then they
- // are only equal if they have the same lenght
+ // are only equal if they have the same length
return (i == len) || (str1[i] == 0 && str2[i] == 0);
}