Skip to content

Commit

Permalink
Limited the announcement of IME opened and closed to Japanese as this…
Browse files Browse the repository at this point in the history
… does not mean anything for other languages. Fixes #2687
  • Loading branch information
michaelDCurran committed Oct 3, 2012
1 parent ea4beff commit 439fc42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nvdaHelper/remote/ime.cpp
Expand Up @@ -130,7 +130,8 @@ DWORD getIMEVersion(HKL kbd_layout, wchar_t* filename) {
typedef UINT (WINAPI* GetReadingString_funcType)(HIMC, UINT, LPWSTR, PINT, BOOL*, PUINT);

void handleOpenStatus(HWND hwnd) {
if(!ImmGetProperty(GetKeyboardLayout(0),IGP_CONVERSION)) return;
//Only reported for japanese
if(((unsigned long)(GetKeyboardLayout(0))&0xff)!=0x11) return;
/* Obtain IME context */
HIMC imc = ImmGetContext(hwnd);
if (!imc) return;
Expand Down

0 comments on commit 439fc42

Please sign in to comment.