fix bad assertion. Move the assertion down . fix bug 26441

This commit is contained in:
ftang%netscape.com 2000-02-16 01:15:56 +00:00
Родитель 6e4e10bd02
Коммит ddb0159abd
1 изменённых файлов: 4 добавлений и 4 удалений

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

@ -3002,14 +3002,14 @@ nsWidget::SetXICBaseFontSize(int height)
void
nsWidget::SetXICSpotLocation(nsPoint aPoint)
{
NS_ASSERTION( (aPoint.y >0), "strange position for XIC");
if(aPoint.y <= 0)
return;
if(mIMEEnable == PR_FALSE)
{
return;
}
NS_ASSERTION( (aPoint.y >0), "strange position for XIC");
if(aPoint.y <= 0)
return;
if (!mIC) GetXIC();
if (mIC)
{