From e5a7368fa9f185b5e6cfdf1670a745b8f4affcdc Mon Sep 17 00:00:00 2001 From: "jfrancis%netscape.com" Date: Sun, 23 Mar 2003 20:49:49 +0000 Subject: [PATCH] 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 --- mozilla/editor/libeditor/html/nsWSRunObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/editor/libeditor/html/nsWSRunObject.cpp b/mozilla/editor/libeditor/html/nsWSRunObject.cpp index fd884718902..2d3c3c267d7 100644 --- a/mozilla/editor/libeditor/html/nsWSRunObject.cpp +++ b/mozilla/editor/libeditor/html/nsWSRunObject.cpp @@ -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); } }