Remove the unintended check in by rev=1.33,

bug 151907, r=ftang, sr=sfraser.
This commit is contained in:
nhotta%netscape.com 2002-06-26 19:57:28 +00:00
Родитель 8bbf68ea3c
Коммит 4124dac80a
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -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;
}
//------------------------------------------------------------------------