From 2b36f4d23a3efc1fc98545f8d7daaed55903e7f5 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 20 Oct 2015 00:41:37 +0200 Subject: [PATCH] added one letter to diacritics filter --- Telegram/SourceFiles/gui/text.h | 2 +- Telegram/Telegram.vcxproj | 3 ++ Telegram/Telegram.vcxproj.filters | 59 ++++++++++++++++++++++++------- 3 files changed, 50 insertions(+), 14 deletions(-) diff --git a/Telegram/SourceFiles/gui/text.h b/Telegram/SourceFiles/gui/text.h index ef0b81d82..8c78bcb90 100644 --- a/Telegram/SourceFiles/gui/text.h +++ b/Telegram/SourceFiles/gui/text.h @@ -676,7 +676,7 @@ inline bool chIsTrimmed(QChar ch, bool rich = false) { } inline bool chIsDiac(QChar ch) { // diac and variation selectors QChar::Category c = ch.category(); - return (c == QChar::Mark_NonSpacing); + return (c == QChar::Mark_NonSpacing) || (ch.unicode() == 1652); } inline int32 chMaxDiacAfterSymbol() { return 2; diff --git a/Telegram/Telegram.vcxproj b/Telegram/Telegram.vcxproj index cc22e26c2..2f5fd505d 100644 --- a/Telegram/Telegram.vcxproj +++ b/Telegram/Telegram.vcxproj @@ -2119,6 +2119,9 @@ true true + + + diff --git a/Telegram/Telegram.vcxproj.filters b/Telegram/Telegram.vcxproj.filters index 47eb59868..ef06d3cd2 100644 --- a/Telegram/Telegram.vcxproj.filters +++ b/Telegram/Telegram.vcxproj.filters @@ -40,6 +40,12 @@ {67311646-a8af-4626-976d-0a5733bf90e8} + + {df139398-6d5d-4bd5-8abe-b509b102f5d8} + + + {9d7bbb7d-817b-4f19-a719-74e674bdc84b} + @@ -1006,8 +1012,6 @@ gui - - gui @@ -1143,10 +1147,6 @@ Source Files - - - - boxes @@ -1189,13 +1189,27 @@ Source Files - - - - - - - + + Resources + + + Resources + + + Resources + + + Resources + + + Resources + + + Resources + + + Resources + @@ -1219,5 +1233,24 @@ Source Files + + Version + + + Version + + + Version + + + + + Resources + + + + + Version + \ No newline at end of file