summaryrefslogtreecommitdiffstats
path: root/core/io/xml_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/xml_parser.cpp')
-rw-r--r--core/io/xml_parser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/xml_parser.cpp b/core/io/xml_parser.cpp
index e3b669409a..e5f4433b8f 100644
--- a/core/io/xml_parser.cpp
+++ b/core/io/xml_parser.cpp
@@ -6,6 +6,7 @@
/* http://www.godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -39,7 +40,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);
}