From d31c8b36026c2db1839f9c3ba4dcee0820544fb2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 15 Mar 2016 22:53:38 +0300 Subject: [PATCH] fixed app code and call on login, accent fold better --- Telegram/SourceFiles/gui/text.cpp | 1 + Telegram/SourceFiles/intro/introphone.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/gui/text.cpp b/Telegram/SourceFiles/gui/text.cpp index 881aeed1c..000c239bd 100644 --- a/Telegram/SourceFiles/gui/text.cpp +++ b/Telegram/SourceFiles/gui/text.cpp @@ -4559,6 +4559,7 @@ namespace { case 65359: return QChar(111); case 65363: return QChar(115); case 65367: return QChar(119); + case 1105: return QChar(1077); default: break; } diff --git a/Telegram/SourceFiles/intro/introphone.cpp b/Telegram/SourceFiles/intro/introphone.cpp index cf1e5f4d3..810f3fb53 100644 --- a/Telegram/SourceFiles/intro/introphone.cpp +++ b/Telegram/SourceFiles/intro/introphone.cpp @@ -251,9 +251,9 @@ void IntroPhone::phoneSubmitDone(const MTPauth_SentCode &result) { const MTPDauth_sentCode &d(result.c_auth_sentCode()); switch (d.vtype.type()) { - case mtpc_auth_sentCodeTypeApp: intro()->setCodeByTelegram(true); + case mtpc_auth_sentCodeTypeApp: intro()->setCodeByTelegram(true); break; case mtpc_auth_sentCodeTypeSms: - case mtpc_auth_sentCodeTypeCall: intro()->setCodeByTelegram(false); + case mtpc_auth_sentCodeTypeCall: intro()->setCodeByTelegram(false); break; case mtpc_auth_sentCodeTypeFlashCall: LOG(("Error: should not be flashcall!")); break; } intro()->setPhone(sentPhone, d.vphone_code_hash.c_string().v.c_str(), d.is_phone_registered());