зеркало из https://github.com/mozilla/gecko-dev.git
Fixed the fix.
This commit is contained in:
Родитель
34eebb2418
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче