Don't suggest emoji on :[non-letter].

This commit is contained in:
John Preston 2019-05-27 12:22:13 +02:00
parent 0eb975e679
commit 2f1b029ec9
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@ struct LangPackData {
[[nodiscard]] bool SkipExactKeyword(
const QString &language,
const QString &word) {
if ((word.size() == 1)
&& (word[0] >= '0' && word[0] <= '9')) {
if ((word.size() == 1) && !word[0].isLetter()) {
return true;
} else if (word == qstr("10")) {
return true;