diff options
| author | omahs <73983677+omahs@users.noreply.github.com> | 2025-05-27 18:22:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-27 19:22:04 +0300 |
| commit | e894536b2f46caad93f997448d2daff9431b19dd (patch) | |
| tree | 1d0caae69c1196d67cce071d730f6d09a52d513e | |
| parent | 95b3b876066dce353d02ff2f0d9f390b01588b1d (diff) | |
Fix typos (#3330)
| -rw-r--r-- | example/web/tdweb/src/worker.js | 2 | ||||
| -rw-r--r-- | td/telegram/MessagesManager.cpp | 2 | ||||
| -rw-r--r-- | td/telegram/files/FileManager.cpp | 2 | ||||
| -rw-r--r-- | td/telegram/net/Session.h | 2 | ||||
| -rw-r--r-- | tdutils/td/utils/StealingQueue.h | 2 | ||||
| -rw-r--r-- | tdutils/td/utils/emoji.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/example/web/tdweb/src/worker.js b/example/web/tdweb/src/worker.js index ef4bc98ee..7e8bb5695 100644 --- a/example/web/tdweb/src/worker.js +++ b/example/web/tdweb/src/worker.js @@ -71,7 +71,7 @@ async function loadTdlibWasm(onFS, wasmUrl) { } let module = createTdwebModule({ onRuntimeInitialized: () => { - log.info('runtime intialized'); + log.info('runtime initialized'); onFS(module.FS); }, instantiateWasm: (imports, successCallback) => { diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 65dddef0d..0e7357169 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -27141,7 +27141,7 @@ void MessagesManager::on_update_dialog_is_pinned(FolderId folder_id, DialogId di } if (d->order == DEFAULT_ORDER) { // the chat can't be pinned or is already unpinned - // don't change it's folder_id + // don't change its folder_id LOG(INFO) << "Can't apply updateDialogPinned in " << folder_id << " with " << dialog_id; return; } diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index 2e5e4084e..217daa624 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -3802,7 +3802,7 @@ void FileManager::run_upload(FileNodePtr node, vector<int> bad_parts) { auto generate_location = file_view.get_generate_location(); if (generate_location != nullptr && generate_location->file_type_ == FileType::SecureEncrypted) { // Can't upload secure file before its size is known - LOG(INFO) << "Can't upload secure file " << node->main_file_id_ << " before it's size is known"; + LOG(INFO) << "Can't upload secure file " << node->main_file_id_ << " before its size is known"; return; } } diff --git a/td/telegram/net/Session.h b/td/telegram/net/Session.h index 75fe39e60..ff8cb407d 100644 --- a/td/telegram/net/Session.h +++ b/td/telegram/net/Session.h @@ -197,7 +197,7 @@ class Session final double wakeup_at_ = 0.0; - // mtproto::AuthData should be the last field, because it's size is about 32 KB + // mtproto::AuthData should be the last field, because its size is about 32 KB mtproto::AuthData auth_data_; void on_handshake_ready(Result<unique_ptr<mtproto::AuthKeyHandshake>> r_handshake); diff --git a/tdutils/td/utils/StealingQueue.h b/tdutils/td/utils/StealingQueue.h index 092dbf801..c3ab53ba3 100644 --- a/tdutils/td/utils/StealingQueue.h +++ b/tdutils/td/utils/StealingQueue.h @@ -21,7 +21,7 @@ class StealingQueue { // tries to put a value // returns if succeeded - // only owner is allowed to to do this + // only owner is allowed to do this template <class F> void local_push(T value, F &&overflow_f) { while (true) { diff --git a/tdutils/td/utils/emoji.h b/tdutils/td/utils/emoji.h index a9877d581..cb9af3fcf 100644 --- a/tdutils/td/utils/emoji.h +++ b/tdutils/td/utils/emoji.h @@ -14,7 +14,7 @@ namespace td { // checks whether the string is an emoji; variation selectors are ignored bool is_emoji(Slice str); -// checks whether emoji ends on a Fitzpatrick modifier and returns it's number or 0 +// checks whether emoji ends on a Fitzpatrick modifier and returns its number or 0 int get_fitzpatrick_modifier(Slice emoji); // removes all Fitzpatrick modifier from the end of the string |
