Fixed the fix.

This commit is contained in:
cata%netscape.com 1999-09-02 22:35:00 +00:00
parent 34eebb2418
commit af4d979f29

View File

@ -613,8 +613,7 @@ static gint composition_draw(GdkEventKey *aEvent, nsWindow *aWin,
for (;;) {
uniChar = aWin->mIMECompositionUniString;
uniCharSize = aWin->mIMECompositionUniStringSize - 1;
aDecoder->Convert((char*)aEvent->string, uniChar, &uniCharSize,
&srcLen);
aDecoder->Convert((char*)aEvent->string, &srcLen, uniChar, &uniCharSize);
if (srcLen == aEvent->length &&
uniCharSize < aWin->mIMECompositionUniStringSize - 1) {
break;