http://bugs.winehq.org/show_bug.cgi?id=14827
--- Comment #18 from Dylan Smith dylan.ah.smith@gmail.com 2009-04-23 21:06:03 --- Sorry, the previous patch didn't end up doing what I was trying to do, since I needed the length of the string to be specified. Try the following instead.
diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c index d1d9990..b6c3ed6 100644 --- a/dlls/riched20/writer.c +++ b/dlls/riched20/writer.c @@ -904,7 +904,7 @@ ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream break; p = ME_FindItemFwd(p, diRunOrParagraphOrEnd); } - if (!ME_StreamOutPrint(pStream, "}")) + if (!ME_StreamOutMove(pStream, "}\0", 2)) return FALSE; return TRUE; }