Commit f78ce2f4 authored by Phil Krylov's avatar Phil Krylov Committed by Alexandre Julliard

Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated

some streamed text.
parent d8bf6e8a
......@@ -588,7 +588,7 @@ ME_StreamOutRTFText(ME_TextEditor *editor, WCHAR *text, LONG nChars)
return FALSE;
pos = i;
}
if (!pos)
if (pos < nBytes)
if (!ME_StreamOutMove(editor, buffer + pos, nBytes - pos))
return FALSE;
pos = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment