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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user