Fix purify UMR error -- thanks to braddr & bruce @ puremagic.com

git-svn-id: svn://10.0.0.236/trunk@23589 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com
1999-03-10 22:30:23 +00:00
parent 2589f5be88
commit f198ef7ae3
2 changed files with 2 additions and 2 deletions

View File

@@ -1310,7 +1310,6 @@ TextFrame::PaintAsciiText(nsIPresContext& aPresContext,
PrepareUnicodeText(tx,
displaySelection ? ip : nsnull,
rawPaintBuf, textLength, width);
ip[mContentLength] = ip[mContentLength-1]+1; //must set up last one for selection beyond edge
// Translate unicode data into ascii for rendering
char* dst = paintBuf;
char* end = dst + textLength;
@@ -1330,6 +1329,7 @@ TextFrame::PaintAsciiText(nsIPresContext& aPresContext,
dx, dy, width);
}
else {
ip[mContentLength] = ip[mContentLength-1]+1; //must set up last one for selection beyond edge
/* SelectionInfo si;
ComputeSelectionInfo(aRenderingContext, doc, ip, textLength, si);*/