зеркало из https://github.com/mozilla/gecko-dev.git
fix bad assertion. Move the assertion down . fix bug 26441
This commit is contained in:
Родитель
6e4e10bd02
Коммит
ddb0159abd
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче