From eda91c291ba476858fb67a01f061a3a047a032fb Mon Sep 17 00:00:00 2001 From: "shanjian%netscape.com" Date: Fri, 7 Sep 2001 03:43:07 +0000 Subject: [PATCH] #90595 Crash when switch to different Simplified Chinese IME a few times r=yokoyama, sr=waterson git-svn-id: svn://10.0.0.236/trunk@102508 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/windows/nsWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/widget/src/windows/nsWindow.cpp b/mozilla/widget/src/windows/nsWindow.cpp index 2b218a078a5..83a329fe5f1 100644 --- a/mozilla/widget/src/windows/nsWindow.cpp +++ b/mozilla/widget/src/windows/nsWindow.cpp @@ -5473,6 +5473,7 @@ NS_IMETHODIMP nsWindow::ResetInputState() if(hIMC) { BOOL ret = FALSE; NS_IMM_NOTIFYIME(hIMC, NI_COMPOSITIONSTR, CPS_COMPLETE, NULL, ret); + NS_IMM_NOTIFYIME(hIMC, NI_COMPOSITIONSTR, CPS_CANCEL, NULL, ret); //NS_ASSERTION(ret, "ImmNotify failed"); NS_IMM_RELEASECONTEXT(mWnd, hIMC); }