Uncomment a call to SetColor that is needed. b=181336 r+sr=bzbarsky

This commit is contained in:
dbaron@dbaron.org
2004-02-03 18:27:11 +00:00
parent 5e17a5f575
commit 8064b50f1b
2 changed files with 2 additions and 2 deletions

View File

@@ -2700,7 +2700,7 @@ nsTextFrame::RenderString(nsIRenderingContext& aRenderingContext,
pendingCount = bp - runStart;
if (0 != pendingCount) {
// Measure previous run of characters using the previous font
//aRenderingContext.SetColor(aTextStyle.mColor->mColor); commenting out redundat(and destructive) call to setcolor
aRenderingContext.SetColor(aTextStyle.mColor->mColor);
aRenderingContext.DrawString(runStart, pendingCount,
aX, aY + mAscent, -1,
spacing ? sp0 : nsnull);