Skip to content

Commit

Permalink
Fix #169 to catch the ambiguity word correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
david50407 committed Apr 10, 2017
1 parent 637be39 commit d44f9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/UserphraseModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ void UserphraseModel::exportUserphrase(std::shared_ptr<UserphraseExporter> expor
QString UserphraseModel::checkBopomofo(const QString &bopomofo) const
{
QString replaceBopomofo = bopomofo;
replaceBopomofo.replace(QString::fromUtf8(""),QString::fromUtf8(""));
replaceBopomofo.replace(QString::fromUtf8("Y"),QString::fromUtf8(""));
replaceBopomofo.replace(QString::fromUtf8(""),QString::fromUtf8(""));
replaceBopomofo.replace(QString::fromUtf8(""),QString::fromUtf8(""));

return replaceBopomofo;
}
Expand Down

0 comments on commit d44f9f8

Please sign in to comment.