Fix typo from bug 348854, causing backspace to sometimes delete the wrong character. bug=369959 r=brettw sr=bryner
This commit is contained in:
Родитель
f773d3a047
Коммит
78d5b8fabb
|
@ -2030,7 +2030,7 @@ nsWSRunObject::GetWSPointBefore(nsIDOMNode *aNode, PRInt32 aOffset, WSPoint *out
|
|||
// appropriate character
|
||||
nsCOMPtr<nsIContent> textNode(do_QueryInterface(mNodeArray[curNum]));
|
||||
WSPoint point(textNode, 0, 0);
|
||||
return GetCharAfter(point, outPoint);
|
||||
return GetCharBefore(point, outPoint);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче