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:
jfrancis%netscape.com
2003-03-23 20:49:49 +00:00
parent 0965f05259
commit e5a7368fa9

View File

@@ -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);
}
}