mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
bug 208095: crashes when ASCII characters are entered before any characters that go through an XIM server. patch by smontagu, r=katakai, sr=sfraser, a=choffman
This commit is contained in:
parent
4b56a45a39
commit
f6310cfd79
@ -2381,7 +2381,7 @@ NS_IMETHODIMP nsEditor::InsertTextIntoTextNodeImpl(const nsAString& aStringToIns
|
||||
nsresult result;
|
||||
// suppressIME s used when editor must insert text, yet this text is not
|
||||
// part of current ime operation. example: adjusting whitespace around an ime insertion.
|
||||
if (mInIMEMode && !suppressIME)
|
||||
if (mIMETextRangeList && mInIMEMode && !suppressIME)
|
||||
{
|
||||
if (!mIMETextNode)
|
||||
{
|
||||
|
@ -3794,7 +3794,6 @@ nsWindow::SetXICSpotLocation(nsIMEGtkIC* aXIC, nsPoint aPoint)
|
||||
|
||||
void
|
||||
nsWindow::ime_preedit_start() {
|
||||
IMEComposeStart(nsnull);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user