diff --git a/scim-wnn/src/romkan.cpp b/scim-wnn/src/romkan.cpp index b76c1a4..bdc49c4 100644 --- a/scim-wnn/src/romkan.cpp +++ b/scim-wnn/src/romkan.cpp @@ -43,6 +43,9 @@ iconvert.set_encoding ("EUC-JP"); mode = ROMA; + // �����Ǥ��٤����ȤǤ�̵������ + nnMode = cfg->read(String("/IMEngine/Wnn/Romkan/nnMode"),false); + unsigned int i = 0; while(strcmp(_RomkanTable[i],"") != 0) { RomkanTableEntry e; @@ -144,6 +147,7 @@ // ��������ny�Ͻ����Ǥ��롣 if (buf[0] == 'n') { String b = "aiueoy"; + if (nnMode) b += "n"; bool boin = false; for(unsigned int i = 0;i < b.length();i ++) { if (buf[1] == b[i]) boin = true; diff --git a/scim-wnn/src/romkan.h b/scim-wnn/src/romkan.h index c47e542..97255d2 100644 --- a/scim-wnn/src/romkan.h +++ b/scim-wnn/src/romkan.h @@ -69,6 +69,7 @@ String modeName; enum inputMode {ROMA,ASCII,WASCII}; inputMode mode; + bool nnMode; vector RomkanTable; }; diff --git a/scim-wnn/src/romkan_table.h b/scim-wnn/src/romkan_table.h index a0ba143..bfa7887 100644 --- a/scim-wnn/src/romkan_table.h +++ b/scim-wnn/src/romkan_table.h @@ -89,6 +89,7 @@ "wu", "��", "we", "��", "wo", "��", + "nn", "��", "N", "��", // ��ʸ����N���� "x", "", "xa", "��",