GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Wiki
tamra
/
scim-wnn
Browse code
細いバグ修正。
master
1 parent
798b866
commit
ef8f8198da9dbff48f3b7f9cf6a1801d86ce0d4d
tamra
authored
on 29 Nov 2004
Patch
Unified
Split
Showing
1 changed file
+3
-3
■
■
■
■
■
scim-wnn/src/romkan.cpp
Ignore Space
Show notes
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
);
Show line notes below