Revision | 1c05e004f9ffe69ef9f63aa9138b3904b5a5e3fc (tree) |
---|---|
Time | 2011-08-13 15:19:24 |
Author | Kazuhiro Fujieda <fujieda@user...> |
Commiter | Kazuhiro Fujieda |
Ignore inactive IMEs.
@@ -54,6 +54,8 @@ void IMEList::GetTSF() | ||
54 | 54 | TF_LANGUAGEPROFILE prof; |
55 | 55 | ULONG fetch; |
56 | 56 | while (pEnum->Next(1, &prof, &fetch) == S_OK) { |
57 | + if (!prof.fActive) | |
58 | + continue; | |
57 | 59 | BSTR bstr; |
58 | 60 | hr = pProfiles->GetLanguageProfileDescription(prof.clsid, langid, prof.guidProfile, &bstr); |
59 | 61 | if (FAILED(hr)) |