modified for new DrawString()/GetWidth() APIs.

git-svn-id: svn://10.0.0.236/trunk@18902 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com
1999-01-28 05:03:58 +00:00
parent 8767c19e77
commit 2b18562cef
18 changed files with 51 additions and 53 deletions

View File

@@ -566,7 +566,7 @@ ImageFrame::DisplayAltText(nsIPresContext& aPresContext,
nscoord width = MeasureString(fm, str, strLen, aRect.width, maxFit);
// Display the text
aRenderingContext.DrawString(str, maxFit, aRect.x, y, 0);
aRenderingContext.DrawString(str, maxFit, aRect.x, y);
// Move to the next line
str += maxFit;