From 439fc4225af9433459baea9261c774301cc823c9 Mon Sep 17 00:00:00 2001 From: Michael Curran Date: Wed, 3 Oct 2012 11:45:31 +1000 Subject: [PATCH] Limited the announcement of IME opened and closed to Japanese as this does not mean anything for other languages. Fixes #2687 --- nvdaHelper/remote/ime.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvdaHelper/remote/ime.cpp b/nvdaHelper/remote/ime.cpp index 177276f810e..4e952fcdf4b 100644 --- a/nvdaHelper/remote/ime.cpp +++ b/nvdaHelper/remote/ime.cpp @@ -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;