mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Fixed the fix.
This commit is contained in:
parent
34eebb2418
commit
af4d979f29
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user