Commit 234f167d authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Null terminate streamed out rich text.

parent 9b56e501
......@@ -904,7 +904,7 @@ ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream, int nStart, int nC
break;
p = ME_FindItemFwd(p, diRunOrParagraphOrEnd);
}
if (!ME_StreamOutPrint(pStream, "}"))
if (!ME_StreamOutMove(pStream, "}\0", 2))
return FALSE;
return TRUE;
}
......
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