Fixes the problem that Hanyu Pinyin keyboard layout does not work.

This commit is contained in:
zonble 2011-10-17 00:18:54 +08:00
parent ae1fd3ee5d
commit 358ce9ef97
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ public:
composeReading |= (!_bpmfReadingBuffer->isEmpty() && (charCode == 32 || charCode == 13));
if (composeReading) {
// combine the reading
string reading = _bpmfReadingBuffer->composedString();
string reading = _bpmfReadingBuffer->syllable().composedString();
// see if we have a unigram for this
if (!LTLanguageModel.hasUnigramsForKey(reading)) {