fix for 189225: deleting text at beginning of line adds extra space.
r=brade; sr=kin git-svn-id: svn://10.0.0.236/trunk@140109 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1427,7 +1427,7 @@ nsWSRunObject::PrepareToDeleteRangePriv(nsWSRunObject* aEndObject)
|
||||
aEndObject->GetCharAfter(aEndObject->mNode, aEndObject->mOffset, &point);
|
||||
if (point.mTextNode && nsCRT::IsAsciiSpace(point.mChar))
|
||||
{
|
||||
res = ConvertToNBSP(point);
|
||||
res = aEndObject->ConvertToNBSP(point);
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user