From 3a2f7db9c8fc387bdffd8bcb2709723624f8db47 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 git-svn-id: svn://10.0.0.236/trunk@142909 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 29ae76f1a5a..c7344013cf7 100644 --- a/mozilla/widget/src/windows/nsWindow.cpp +++ b/mozilla/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;