From d6e60e9591104c2d621b4722878d514e519ac343 Mon Sep 17 00:00:00 2001 From: "leon.zhang%sun.com" Date: Mon, 26 May 2003 02:36:13 +0000 Subject: [PATCH] Bug 204434: JA IME: cursor position is off when text is not committed This patch is for: fix crash when type chinese chars into composer r=danm@netscape.com sr=sfraser@netscape.com --- 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 29ae76f1a5a..c7344013cf7 100644 --- a/widget/src/windows/nsWindow.cpp +++ b/widget/src/windows/nsWindow.cpp @@ -761,6 +761,7 @@ nsWindow::nsWindow() : nsBaseWidget() mIMECompClauseString = NULL; mIMECompClauseStringSize = 0; mIMECompClauseStringLength = 0; + mIMECursorPosition = 0; mIMEReconvertUnicode = NULL; mLeadByte = '\0'; mBlurEventSuppressionLevel = 0;