[2/2] imm32: Remove dead code
André Hentschel
nerv at dawncrow.de
Mon Jun 13 08:41:12 CDT 2011
cleaning up...
---
dlls/imm32/imm.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 5e00d27..8e40d08 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -1877,8 +1877,6 @@ BOOL WINAPI ImmIsIME(HKL hKL)
static BOOL IMM_IsUIMessage(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam, BOOL unicode)
{
- BOOL rc = FALSE;
-
if ((msg >= WM_IME_STARTCOMPOSITION && msg <= WM_IME_KEYLAST) ||
(msg >= WM_IME_SETCONTEXT && msg <= WM_IME_KEYUP) ||
(msg == WM_MSIME_SERVICE) ||
@@ -1889,9 +1887,6 @@ static BOOL IMM_IsUIMessage(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam
(msg == WM_MSIME_QUERYPOSITION) ||
(msg == WM_MSIME_DOCUMENTFEED))
{
- if (!IMM_GetThreadData()->hwndDefault)
- ImmGetDefaultIMEWnd(NULL);
-
if (hWndIME == NULL)
{
if (unicode)
@@ -1900,9 +1895,9 @@ static BOOL IMM_IsUIMessage(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam
PostMessageA(IMM_GetThreadData()->hwndDefault, msg, wParam, lParam);
}
- rc = TRUE;
+ return TRUE;
}
- return rc;
+ return FALSE;
}
/***********************************************************************
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list