diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
commit | c3bc61051d7f12b4c682efa7a5460bbc8815649e (patch) | |
tree | b6d19e96ba3c397fb8278eeb9b68170db92630ba /net-im/telegram-desktop/files | |
parent | 3517852e3b8a68d1e997770fc0650c5053bafc6c (diff) |
gentoo resync : 07.01.2022
Diffstat (limited to 'net-im/telegram-desktop/files')
-rw-r--r-- | net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch b/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch new file mode 100644 index 000000000000..35781fda0ced --- /dev/null +++ b/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch @@ -0,0 +1,20 @@ +--- tdesktop-3.3.0-full.orig/Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp ++++ tdesktop-3.3.0-full/Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp +@@ -34,7 +34,7 @@ + auto IsHebrew(const QString &word) { + // Words with mixed scripts will be automatically ignored, + // so this check should be fine. +- return ::Spellchecker::WordScript(&word) == QChar::Script_Hebrew; ++ return ::Spellchecker::WordScript(word) == QChar::Script_Hebrew; + } + + class EnchantSpellChecker { +@@ -154,7 +154,7 @@ + } + + auto EnchantSpellChecker::findSuggestions(const QString &word) { +- const auto wordScript = ::Spellchecker::WordScript(&word); ++ const auto wordScript = ::Spellchecker::WordScript(word); + auto w = word.toStdString(); + std::vector<QString> result; + if (!_validators.size()) { |