Bug 330852 raising assertion when clicking anytime r+sr=dbaron

This commit is contained in:
masayuki%d-toybox.com 2006-03-17 19:26:08 +00:00
parent a867d35b6d
commit 673b3fc9c1

View File

@ -4950,7 +4950,8 @@ nsWindow::CancelIMECompositionInternal()
if (!im)
return NS_OK;
NS_ASSERTION(gIMESuppressCommit, "CancelIMEComposition is already called!");
NS_ASSERTION(!gIMESuppressCommit,
"CancelIMECompositionInternal is already called!");
gIMESuppressCommit = PR_TRUE;
gtk_im_context_reset(im);
gIMESuppressCommit = PR_FALSE;