細いバグ修正。
1 parent 798b866 commit ef8f8198da9dbff48f3b7f9cf6a1801d86ce0d4d
@tamra tamra authored on 29 Nov 2004
Showing 1 changed file
View
6
scim-wnn/src/romkan.cpp
{
buf += k;
String s;
s = k;
text = text.substr(0,pos) + utf8_mbstowcs(s) + text.substr(pos ++);
text = text.substr(0,pos) + utf8_mbstowcs(s) + text.substr(pos);
pos ++;
//return(text);
return(eval());
}
 
{
if (!buf.length()) return(false);
if (buf[buf.length() - 1] == 'Z') {
if (key.code == SCIM_KEY_space) {
insert(key.get_ascii_code());
insert(' ');
return(true);
}
}
return(false);