diff --git a/honoka/src/honoka_imengine.cpp b/honoka/src/honoka_imengine.cpp index 6656e9c..246e614 100644 --- a/honoka/src/honoka_imengine.cpp +++ b/honoka/src/honoka_imengine.cpp @@ -1219,7 +1219,7 @@ // ふりがな付き確定キー(実験的) if (k_filter_commit.comp(key)) { - WideString cm; + /*WideString cm; for(unsigned int i = 0;i < segments.size();i ++) { if (segments[i].getKanji() == segments[i].getYomi()) { cm += segments[i].getKanji(); @@ -1238,6 +1238,8 @@ } } commit_string(cm); + */ + commit_string(m_filter->filter(segments)); m_convertor->updateFrequency(); if (prediction) if (m_predictor->isConnected()) m_predictor->update(getConvertedText(),m_preeditor->getText(true)); m_preeditor->reset();