aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.h
diff options
context:
space:
mode:
authorAbdou-31 <abdou31.coding@gmail.com>2022-11-09 17:57:19 +0100
committerGitHub <noreply@github.com>2022-11-09 11:57:19 -0500
commitd1b80b462eaa74a8640cf132c21f74e4f924052a (patch)
treed5804214487f339643ab6cdf74fbd113cb02cb2b /src/util/string.h
parent6191bafcadc21277be5527ed1ac05f7902e710ad (diff)
downloadminetest-d1b80b462eaa74a8640cf132c21f74e4f924052a.tar.xz
Fix typos and en_US/en_GB inconsistency in various files (#12902)
Diffstat (limited to 'src/util/string.h')
-rw-r--r--src/util/string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/string.h b/src/util/string.h
index 83cce3765..80eea754c 100644
--- a/src/util/string.h
+++ b/src/util/string.h
@@ -450,7 +450,7 @@ inline void str_replace(std::string &str, const std::string &pattern,
}
/**
- * Escapes characters [ ] \ , ; that can not be used in formspecs
+ * Escapes characters [ ] \ , ; that cannot be used in formspecs
*/
inline void str_formspec_escape(std::string &str)
{
@@ -729,7 +729,7 @@ inline std::string str_join(const std::vector<std::string> &list,
}
/**
- * Create a UTF8 std::string from a irr::core::stringw.
+ * Create a UTF8 std::string from an irr::core::stringw.
*/
inline std::string stringw_to_utf8(const irr::core::stringw &input)
{
@@ -738,7 +738,7 @@ inline std::string stringw_to_utf8(const irr::core::stringw &input)
}
/**
- * Create a irr::core:stringw from a UTF8 std::string.
+ * Create an irr::core:stringw from a UTF8 std::string.
*/
inline irr::core::stringw utf8_to_stringw(const std::string &input)
{