• R/O
  • HTTP
  • SSH
  • HTTPS

xkeymacs: Commit


Commit MetaInfo

Revision1c05e004f9ffe69ef9f63aa9138b3904b5a5e3fc (tree)
Time2011-08-13 15:19:24
AuthorKazuhiro Fujieda <fujieda@user...>
CommiterKazuhiro Fujieda

Log Message

Ignore inactive IMEs.

Change Summary

Incremental Difference

--- a/xkeymacs/imelist.cpp
+++ b/xkeymacs/imelist.cpp
@@ -54,6 +54,8 @@ void IMEList::GetTSF()
5454 TF_LANGUAGEPROFILE prof;
5555 ULONG fetch;
5656 while (pEnum->Next(1, &prof, &fetch) == S_OK) {
57+ if (!prof.fActive)
58+ continue;
5759 BSTR bstr;
5860 hr = pProfiles->GetLanguageProfileDescription(prof.clsid, langid, prof.guidProfile, &bstr);
5961 if (FAILED(hr))
Show on old repository browser