Commit MetaInfo

Révision1c05e004f9ffe69ef9f63aa9138b3904b5a5e3fc (tree)
l'heure2011-08-13 15:19:24
AuteurKazuhiro Fujieda <fujieda@user...>
CommiterKazuhiro Fujieda

Message de Log

Ignore inactive IMEs.

Change Summary

Modification

--- 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))
Afficher sur ancien navigateur de dépôt.