зеркало из https://github.com/mozilla/pjs.git
Remove the unintended check in by rev=1.33,
bug 151907, r=ftang, sr=sfraser.
This commit is contained in:
Родитель
8bbf68ea3c
Коммит
4124dac80a
|
@ -990,11 +990,9 @@ void nsUnicodeRenderingToolkit :: DrawScriptText(
|
|||
::MoveTo(x, y);
|
||||
::DrawText(buf,0,aLen);
|
||||
|
||||
// Point penLoc;
|
||||
// ::GetPen(&penLoc);
|
||||
// oWidth = penLoc.h - x;
|
||||
oWidth = ::TextWidth(buf, 0, aLen);
|
||||
// NS_ASSERTION(oWidth == oWidth2, "width are different");
|
||||
Point penLoc;
|
||||
::GetPen(&penLoc);
|
||||
oWidth = penLoc.h - x;
|
||||
}
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче