aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'td/telegram/misc.cpp')
-rw-r--r--td/telegram/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/misc.cpp b/td/telegram/misc.cpp
index e950bbf7d..c543b251d 100644
--- a/td/telegram/misc.cpp
+++ b/td/telegram/misc.cpp
@@ -172,7 +172,7 @@ string strip_empty_characters(string str, size_t max_length, bool strip_rtlo) {
}();
CHECK(can_be_first_inited);
- // replace all occurences of space characters with a space
+ // replace all occurrences of space characters with a space
size_t i = 0;
while (i < str.size() && !can_be_first[static_cast<unsigned char>(str[i])]) {
i++;