fix bad assertion. Move the assertion down . fix bug 26441
git-svn-id: svn://10.0.0.236/trunk@60997 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user