From d4fa940475adaa1f091caaea54d76750f89fbfa9 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Wed, 16 Feb 2000 01:15:56 +0000 Subject: [PATCH] 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 --- mozilla/widget/src/gtk/nsWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/widget/src/gtk/nsWidget.cpp b/mozilla/widget/src/gtk/nsWidget.cpp index 36270cdc1b5..5f9034dc837 100644 --- a/mozilla/widget/src/gtk/nsWidget.cpp +++ b/mozilla/widget/src/gtk/nsWidget.cpp @@ -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) {