diff --git a/honoka/plugins/wordsprediction.cpp b/honoka/plugins/wordsprediction.cpp index 97289b0..bf3fbb3 100644 --- a/honoka/plugins/wordsprediction.cpp +++ b/honoka/plugins/wordsprediction.cpp @@ -62,9 +62,10 @@ WideString word,prewords; for(unsigned int i = str.length();i > 0;i --) { //if (isalnum(utf8_wcstombs(str).c_str()[i - 1])) - if (((str[i - 1] >= 0x0041) && (str[i - 1] <= 0x005A)) || - ((str[i - 1] >= 0x0061) && (str[i - 1] <= 0x007A)) || - ((str[i - 1] >= 0x0030) && (str[i - 1] <= 0x0039))) + if (((str[i - 1] >= 0x0041) && (str[i - 1] <= 0x005A)) || // ��ʸ�� + ((str[i - 1] >= 0x0061) && (str[i - 1] <= 0x007A)) || // ��ʸ�� + ((str[i - 1] >= 0x0030) && (str[i - 1] <= 0x0039)) || // ���� + (str[i - 1] == 0x002D)) // �ϥ��ե� word = str[i - 1] + word; else break; }