OSDN Git Service
(root)
/
xkeymacs
/
xkeymacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea8482
)
Ignore inactive IMEs.
snap-110814
author
Kazuhiro Fujieda
<fujieda@users.sourceforge.jp>
Sat, 13 Aug 2011 06:19:24 +0000
(15:19 +0900)
committer
Kazuhiro Fujieda
<fujieda@users.sourceforge.jp>
Sat, 13 Aug 2011 06:19:24 +0000
(15:19 +0900)
xkeymacs/imelist.cpp
patch
|
blob
|
history
diff --git
a/xkeymacs/imelist.cpp
b/xkeymacs/imelist.cpp
index
2c229c2
..
bcc10ee
100644
(file)
--- a/
xkeymacs/imelist.cpp
+++ b/
xkeymacs/imelist.cpp
@@
-54,6
+54,8
@@
void IMEList::GetTSF()
TF_LANGUAGEPROFILE prof;
\r
ULONG fetch;
\r
while (pEnum->Next(1, &prof, &fetch) == S_OK) {
\r
+ if (!prof.fActive)
\r
+ continue;
\r
BSTR bstr;
\r
hr = pProfiles->GetLanguageProfileDescription(prof.clsid, langid, prof.guidProfile, &bstr);
\r
if (FAILED(hr))
\r