mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 348981 r=pkasting a=dbaron Typo in range setting
This commit is contained in:
parent
9ea0e39492
commit
a7a2cb6e16
@ -200,7 +200,7 @@ mozInlineSpellStatus::InitForEditorChange(
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
rv = nsrange->ComparePoint(aStartNode, aStartOffset, &cmpResult);
|
||||
rv = nsrange->ComparePoint(aEndNode, aEndOffset, &cmpResult);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
if (cmpResult > 0) { // given range ends after
|
||||
rv = mRange->SetEnd(aEndNode, aEndOffset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user