From bdb8525386be81661ec056e06fb9f49ab8376826 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 --- widget/src/windows/nsWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/src/windows/nsWindow.cpp b/widget/src/windows/nsWindow.cpp index 2b218a078a5..83a329fe5f1 100644 --- a/widget/src/windows/nsWindow.cpp +++ b/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); }