diff --git a/scim-wnn/src/scim_wnn_imengine.cpp b/scim-wnn/src/scim_wnn_imengine.cpp index b0d21f7..173c1a1 100644 --- a/scim-wnn/src/scim_wnn_imengine.cpp +++ b/scim-wnn/src/scim_wnn_imengine.cpp @@ -629,7 +629,7 @@ alp_count = 1; return(true); } else - if (k_conversion_rensou.comp(key) && (sType == Wnn7) ) { + if (k_conversion_rensou.comp(key) && ((sType == Wnn7) || (sType == Wnn8)) ) { m_convList = wnn.getConversionList(wnn.getPos(),RENSOU); if (m_convList.count == 0) return(true); startLookup(); @@ -637,7 +637,7 @@ alp_count = 1; return(true); } else - if (k_conversion_ikeiji.comp(key) && (sType == Wnn7)) { + if (k_conversion_ikeiji.comp(key) && ((sType == Wnn7) || (sType == Wnn8)) ) { m_convList = wnn.getConversionList(wnn.getPos(),IKEIJI); if (m_convList.count == 0) return(true); startLookup(); diff --git a/scim-wnn/src/wnnconversion.cpp b/scim-wnn/src/wnnconversion.cpp index 6ec421a..991956d 100644 --- a/scim-wnn/src/wnnconversion.cpp +++ b/scim-wnn/src/wnnconversion.cpp @@ -344,7 +344,7 @@ convList.Yomi.clear(); convList.pos = 0; convList.count = 0; - if ((sType != Wnn7) && (kt != DEFAULT)) return(convList); + if ((sType != Wnn8) && (sType != Wnn7) && (kt != DEFAULT)) return(convList); if (p == -1) p = pos; if ((p >= bunsetu) || (p < 0)) p = p % bunsetu;