Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated
some streamed text.
This commit is contained in:
parent
d8bf6e8aa4
commit
f78ce2f41b
|
@ -588,7 +588,7 @@ ME_StreamOutRTFText(ME_TextEditor *editor, WCHAR *text, LONG nChars)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
pos = i;
|
pos = i;
|
||||||
}
|
}
|
||||||
if (!pos)
|
if (pos < nBytes)
|
||||||
if (!ME_StreamOutMove(editor, buffer + pos, nBytes - pos))
|
if (!ME_StreamOutMove(editor, buffer + pos, nBytes - pos))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
pos = 0;
|
pos = 0;
|
||||||
|
|
Loading…
Reference in New Issue